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 import error in typescript #239

Merged
merged 1 commit into from
Jan 17, 2018
Merged

Fix import error in typescript #239

merged 1 commit into from
Jan 17, 2018

Conversation

jyhwng
Copy link
Contributor

@jyhwng jyhwng commented Jan 16, 2018

Fix export to es6 syntax in type definition. Used default export. If #238 is on purpose, consider this PR

(Reference)

@jyhwng jyhwng changed the title Fix default export error Fix import error in typescript Jan 16, 2018
@trotzig
Copy link
Collaborator

trotzig commented Jan 17, 2018

Thanks for the fix! I don't have a fix for the issue introduced in #238 so at least for now this will make things better.

I'm not using typescript myself, and I'm slightly embarrassed about the number of typescript related issues we introduce. Do you think you could help out by writing some kind of test to verify the typescript declarations? It could help prevent these issues going forward.

@trotzig trotzig merged commit eea1063 into civiccc:master Jan 17, 2018
@jyhwng
Copy link
Contributor Author

jyhwng commented Jan 20, 2018

@trotzig Thanks for merging :) Sure I'd be happy to contribute.

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