planttheidea/moize

TS1046: A 'declare' modifier is required for a top level declaration

iHaiduk opened this issue · 1 comments

I have the following error when compiling a project:

node_modules/moize/index.d.ts(25,1): error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! miraries@0.0.1 backend: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the miraries@0.0.1 backend script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

TypeScript@2.4.2
moize@3.3.0

Thanks for the PR! Merged and released as part of 3.3.1.