-
Notifications
You must be signed in to change notification settings - Fork 351
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
[question] how to use this using typescript #47
Comments
Ah, I got it working using Please close this :) |
incase this helps anyone I created for zlib_and_gzip.min "zlibjs.d.ts" file...
|
@equinox2k Thank you, maybe you can try to create a pull request for this definition to DefinitelyTyped. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I know this isn't really a question specifically for this lib, but can someone help me use this together with typescript? I tried specifying (in my tsconfig.json)
"paths": { "zlib_and_gzip": [ "node_modules/zlibjs/bin/zlib_and_gzip.min" ]
But I'm getting an error saying:
error TS2306: File 'node_modules/zlibjs/bin/zlib_and_gzip.min.js' is not a module.
Which isn't really a surprise... but is there a way to use it anyway?
If not, how would I got about packaging this using modules or can you suggest where to post this question?
Regards, Martin
The text was updated successfully, but these errors were encountered: