Closed maxcodefaster closed 1 year ago
Hi max, We will add types ASAP, Thx for the catch
Hi max, v0.0.9 has just been released, index.d.ts is added there, let me know if this solves your problem. Thx
Mhm maybe i am importing it wrong but:
Hi max, could you try this code snippet to see if it works for you? import * as iota from 'tanglepay-sdk' currently the whole package is export default as an object Thx
Hi max, could you try this code snippet to see if it works for you? import * as iota from 'tanglepay-sdk' currently the whole package is export default as an object Thx
Same result. Tried this before. I guess it is missing a d.ts file.
Hi max, sorry for the inconvenience, v0.1.1 is out and I checked index.d.ts in npm page's code tab let me know if it solves your problem this time Thx
Hi max, sorry for the inconvenience, v0.1.1 is out and I checked index.d.ts in npm page's code tab let me know if it solves your problem this time Thx
Yes works! Awesome, thank you :)
To use this esm module in a typescript project it needs types:
https://stackoverflow.com/questions/41292559/could-not-find-a-declaration-file-for-module-module-name-path-to-module-nam
Use case:
I want to import this library in my angular app, but I cant as it has no typings.