Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in type definition (v3.0.0) #35

Closed
simon368 opened this issue Jul 14, 2020 · 1 comment
Closed

Typo in type definition (v3.0.0) #35

simon368 opened this issue Jul 14, 2020 · 1 comment

Comments

@simon368
Copy link

simon368 commented Jul 14, 2020

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 webroo closed this as completed in a479273 Jul 14, 2020
@webroo
Copy link
Owner

webroo commented Jul 14, 2020

Thanks for letting me know! Fixed in 3.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants