You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to compile and use this library with typescript a typescript error occurs.
Error: node_modules/address/lib/address.d.ts:1:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
There is a definition problem on address.d.ts. The namespace have to be replaced with declare namespace .
Working Code:
Activity
mehwww commentedon Jun 22, 2019
Same issue, I have to manually delete the declaration file every time before compile.