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

typescript import #9

Open
kokokenada opened this issue Sep 3, 2016 · 1 comment
Open

typescript import #9

kokokenada opened this issue Sep 3, 2016 · 1 comment

Comments

@kokokenada
Copy link

When I import to type script like

import "meteor/konecty:mongo-counter";

incrementCounter() is undefined.

When I import like: (as described in meteor/meteor#6177)

import {incrementCount} from  "meteor/konecty:mongo-counter";

the build can't find the module.

Not sure if I'm doing something wrong or if there's a problem with the package...

@kokokenada
Copy link
Author

Is was able access it by

Package['konecty:mongo-counter'].incrementCounter(CounterCollection, counterType);

Not sure if there's a better way, but I'm up and running for now...

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

No branches or pull requests

1 participant