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

Fix TS typings #75

Merged
merged 1 commit into from
Nov 16, 2017
Merged

Fix TS typings #75

merged 1 commit into from
Nov 16, 2017

Conversation

IKnowBashFu
Copy link

When using this library for TS in Visual Studio Code, none of the typings were actually loading. This is due to the lack of a "types" key in the package.json, so I added that.

Then, tsc was complaining that I couldn't import your library, as it wasn't a module. For this, I added export in front of your two class declarations inside the typings file for ts, then removed the export at the bottom.

@haltcase
Copy link
Owner

Yo @IKnowBashFu, thanks for the fix! Not much of a typescript user myself so I figured they might be a bit off.

I'll put out a patch release with this soon.

@haltcase haltcase merged commit b8dafb4 into haltcase:master Nov 16, 2017
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

Successfully merging this pull request may close these issues.

2 participants