add libp2p as types namespace to fix tests

This commit is contained in:
weboko 2023-01-31 23:45:01 +01:00
parent ee02794525
commit 52b67b573f
No known key found for this signature in database

View File

@ -38,7 +38,7 @@
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
"lib": ["es2020", "dom"],
"types": ["node", "mocha"],
"typeRoots": ["node_modules/@types", "src/@types"]
"typeRoots": ["node_modules/@types", "src/@types", "node_modules/@libp2p"]
},
"include": ["src"],
"exclude": ["src/**/*.spec.ts", "src/test_utils"],