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

typings.d.ts using export as namespace syntax as recommended for exte… #59

Merged
merged 1 commit into from
Nov 22, 2016
Merged

Conversation

cwmoo740
Copy link
Contributor

…rnal modules

https://www.typescriptlang.org/docs/handbook/modules.html

It is recommended for "external modules" e.g. npm installable modules to use this syntax for declaration files.

Also, the current typings file prevents any typescript project from using this repo:

error TS2666: Exports and export assignments are not permitted in module augmentations.

And modules that provide a "typings" field in package.json cannot blacklist an incorrect typings file.

@afram
Copy link
Collaborator

afram commented Nov 22, 2016

Thanks for this, will merge it in now and fix the tests before publishing. Will let you know when it is published.

@afram afram merged commit d6046a3 into eiriklv:master Nov 22, 2016
@afram
Copy link
Collaborator

afram commented Nov 22, 2016

@cwmoo740 @emzero this is done.

v4.3.2

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.

None yet

2 participants