-
Notifications
You must be signed in to change notification settings - Fork 25
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
Not working for typescript #34
Comments
I don't use TypeScript myself. Can you help and try to have a look at this? |
Ok, I've tried fixing it and all we need is just replace
and to use:
|
@beeing @terkelg you can use it like this: import glob = require('tiny-glob'); https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require |
you don't have to change code, but you can add this to documentation for newcomers |
That works too. Thanks @armano2. Only thing is the import statement looks different from the others using |
Anyone open to doing a PR with an updated readme with TypeScript instructions? |
After updating to latest version, typescript compiler will throw error on:
But this is fine in older version.
The text was updated successfully, but these errors were encountered: