-
Notifications
You must be signed in to change notification settings - Fork 235
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
Support for import es6 #205
Comments
ok this is the solution:
and to import you do:
and to use:
but it would be better if the lib exported the default so no need for an extra step. here is the entire .d.ts file:
Angular 2 Kitchen sink: http://ng2.javascriptninja.io Sean |
Yep, also want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using angular2 aand TypeScript trying to do:
will not work.
this will work but its a hack
and even with the above TypeScript is not happy with InteliSence
regards
Sean
The text was updated successfully, but these errors were encountered: