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
If you try and use ocean.js from another typescript project in strict mode, you will get this error:
Could not find a declaration file for module '@oceanprotocol/lib'. '/home/jamie/Desktop/ocean/vscode-extension/node_modules/@oceanprotocol/lib/dist/lib.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/oceanprotocol__lib` if it exists or add a new declaration (.d.ts) file containing `declare module '@oceanprotocol/lib';`ts(7016)
We don't have a type declaration file so there there is no easy way round this for developers.
The text was updated successfully, but these errors were encountered:
If you try and use ocean.js from another typescript project in strict mode, you will get this error:
We don't have a type declaration file so there there is no easy way round this for developers.
The text was updated successfully, but these errors were encountered: