add module type definition for hyperswarm

This commit is contained in:
Moriz Wahl 2022-05-04 19:27:05 +02:00
parent c8499ec3ad
commit 5f24c316c8
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1 @@
declare module '@hyperswarm/dht'

View File

@ -58,7 +58,10 @@
"@entity/*": ["../database/entity/*", "../../database/build/entity/*"]
},
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
"typeRoots": [ /* List of folders to include type definitions from. */
"src/federation/@types",
"node_modules/@types"
],
// "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */