-
Notifications
You must be signed in to change notification settings - Fork 4
Usage with typescript? #10
Comments
I have shimmed fetch type definition myself 😄 I am not sure what issues with bluebird. can you explain. |
Could you check in your type definition with this project? |
let me know exact issue with type definitions. |
ok, package.json does not have ` property. I will fix and upload new version. you can fix by adding this attribute to package.json like this
this should fix your issue. do not remove js files. |
No it doesn't seem to fix it and there are other issues as well:
|
are you trying to build it yourself or just consume? |
I'm trying to consume - but it seems like tsc tries to compile the auth module |
you can set |
@kitzler-walli @gautamsi I have the same problem with a slightly different error:
skipLibCheck is already set to true and adding "typings": "src/index.d.ts" in package.json spawns a ton of errors at compilation. The fix to package.json seems to not have been committed. |
Solved it with this comment. |
gr8, I am not sure if adding this switch in tsconfig of this repo would help. ideally skipLibCheck is enough. |
let me know if you still facing this issue. |
How were you able to compile this in typescript?
There is no types definition for fetch and there are other issues with bluebird.
The text was updated successfully, but these errors were encountered: