Type repository for external packages used by Counterfactual's Typescript code. This is automatically imported by all packages in the monorepo as a kind of stub for any packages we need that are not typed in the way that we would like.
yarn add -D @counterfactual/typescript-typings
Add the following line within an compilerOptions
section of your tsconfig.json
"typeRoots": ["node_modules/@counterfactual/typescript-typings/types", "node_modules/@types"]