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

error TS1192: error TS1192:Module '"...../neode/types/index"' has no default export. #14

Closed
breitmark opened this issue Jul 11, 2018 · 3 comments

Comments

@breitmark
Copy link

Neode looks great, but with the missing default export it isn't usable from TypeScript with the constructor. Only fromEnv() is usable in TS.
Could you please define the default export or add a static 'create' function like fromEnv?

@adam-cowley
Copy link
Owner

Could you make the changes to types/index.d.ts and submit a pull request?

@breitmark
Copy link
Author

I don't understand why, but the problem is gone

@mhoangvslev
Copy link
Contributor

The problem still persists

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

3 participants