-
Notifications
You must be signed in to change notification settings - Fork 154
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
Typescript error: no exported member 'MomentModule' #80
Comments
When i look at the version i get from npm and i open index.d.ts it does not have and export for "module" as per the source code here - is the latest version published to npm? |
Ok i installed with the latest version using npm using @1.0.0-beta.1 Still getting the same error no exported module 'MomentModule' |
Hi, simply import it like this:
|
Also see #68 if you are using AoT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I have installed angular2-moment and i seem to be getting an error:
angular2-moment has no exported member 'MomentModule' ?
Thanks
The text was updated successfully, but these errors were encountered: