Cannot use namespace 'Buffer' as a type.
Closed this issue · 3 comments
ppator1 commented
Using Vue with Typescript...
Running production build throws this error:
ERROR in C:/GIT/iAM/BridgeCareApp/VuejsApp/node_modules/bson-objectid/objectid.d.ts
21:25 Cannot use namespace 'Buffer' as a type.
19 | constructor(idString: string);
20 | constructor(array: number[]);
21 | constructor(buffer: Buffer);
| ^
22 |
23 | readonly id: string;
24 | readonly str: string;
niftylettuce commented
Please provide more insight or reproducible case.
jpoles1 commented
I've also just run into this same issue, not certain how to reproduce it as of yet.