webroo / dummy-json

Generates random dummy JSON data in Node.js
MIT License
380 stars 61 forks source link

Typo in type definition (v3.0.0) #35

Closed simon368 closed 4 years ago

simon368 commented 4 years ago

The extra semicolon in the type definition (https://github.com/webroo/dummy-json/blob/master/index.d.ts#L54) throws the following error:

node_modules/dummy-json/index.d.ts:54:2 - error TS1036: Statements are not allowed in ambient 
contexts.

54 };
webroo commented 4 years ago

Thanks for letting me know! Fixed in 3.0.1