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
node_modules/@psychedelic/cap-js/dist/index.d.ts:4:29 - error TS2307: Cannot find module './declarations/cap/router' or its corresponding type declarations.
4 import _ROUTER_SERVICE from "./declarations/cap/router";
~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@psychedelic/cap-js/dist/index.d.ts:5:27 - error TS2307: Cannot find module './declarations/cap/root' or its corresponding type declarations.
5 import _ROOT_SERVICE from "./declarations/cap/root";
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@psychedelic/cap-js/dist/index.d.ts:6:181 - error TS2307: Cannot find module './declarations/cap' or its corresponding type declarations.
node_modules/@psychedelic/cap-js/dist/utils.d.ts:2:23 - error TS2307: Cannot find module './declarations/cap/root' or its corresponding type declarations.
2 import { Event } from "./declarations/cap/root";
~~~~~~~~~~~~~~~~~~~~~~~~~
Found 5 errors in 2 files.
Errors Files
4 node_modules/@psychedelic/cap-js/dist/index.d.ts:4
1 node_modules/@psychedelic/cap-js/dist/utils.d.ts:2script declarations not found when using cap-js within a typescript project:
`
The text was updated successfully, but these errors were encountered:
@ildefons the declarations directory is only available at the source, the library has a public interface where the exports are defined. In other words, take into account the public interface of the package where the exports are defined.
`
Type> [email protected] start
node_modules/@psychedelic/cap-js/dist/index.d.ts:4:29 - error TS2307: Cannot find module './declarations/cap/router' or its corresponding type declarations.
4 import _ROUTER_SERVICE from "./declarations/cap/router";
~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@psychedelic/cap-js/dist/index.d.ts:5:27 - error TS2307: Cannot find module './declarations/cap/root' or its corresponding type declarations.
5 import _ROOT_SERVICE from "./declarations/cap/root";
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@psychedelic/cap-js/dist/index.d.ts:6:181 - error TS2307: Cannot find module './declarations/cap' or its corresponding type declarations.
6 import { GetUserRootBucketsResponse, GetTokenContractRootBucketResponse, GetTransactionResponse, GetTransactionsResponseBorrowed, GetIndexCanistersResponse, IndefiniteEvent } from "./declarations/cap";
~~~~~~~~~~~~~~~~~~~~
node_modules/@psychedelic/cap-js/dist/index.d.ts:7:395 - error TS2307: Cannot find module './declarations/cap' or its corresponding type declarations.
7 export { Root, Event, GetBucketResponse, GetNextCanistersResponse, GetTransactionResponse, GetTransactionsArg, GetTransactionsResponseBorrowed, GetUserTransactionsArg, IndefiniteEvent, DetailValue, WithIdArg, WithWitnessArg, Witness, Router, GetIndexCanistersResponse, GetTokenContractRootBucketArg, GetTokenContractRootBucketResponse, GetUserRootBucketsArg, GetUserRootBucketsResponse, } from "./declarations/cap";
~~~~~~~~~~~~~~~~~~~~
node_modules/@psychedelic/cap-js/dist/utils.d.ts:2:23 - error TS2307: Cannot find module './declarations/cap/root' or its corresponding type declarations.
2 import { Event } from "./declarations/cap/root";
~~~~~~~~~~~~~~~~~~~~~~~~~
Found 5 errors in 2 files.
Errors Files
4 node_modules/@psychedelic/cap-js/dist/index.d.ts:4
1 node_modules/@psychedelic/cap-js/dist/utils.d.ts:2script declarations not found when using cap-js within a typescript project:
`
The text was updated successfully, but these errors were encountered: