From 52b67b573f36ede25fe3129aa77aae7e2314c870 Mon Sep 17 00:00:00 2001 From: weboko Date: Tue, 31 Jan 2023 23:45:01 +0100 Subject: [PATCH] add libp2p as types namespace to fix tests --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 64774a9..58ff5ab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"],