mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-04-24 17:22:22 +00:00
33 lines
892 B
JSON
33 lines
892 B
JSON
{
|
|
"include": ["src/**/*.js"],
|
|
"exclude": ["src/**/tests/*", "src/utils"],
|
|
|
|
"compilerOptions": {
|
|
// Tells TypeScript to read JS files, as
|
|
// normally they are ignored as source files
|
|
"allowJs": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noImplicitReturns": false,
|
|
"noImplicitAny": false,
|
|
"noImplicitThis": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": false,
|
|
"strictFunctionTypes": true,
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": true,
|
|
"strictBindCallApply": true,
|
|
"strict": true,
|
|
"alwaysStrict": true,
|
|
"stripInternal": true,
|
|
// Generate d.ts files
|
|
"declaration": true,
|
|
// This compiler run should
|
|
// only output d.ts files
|
|
"emitDeclarationOnly": true,
|
|
"esModuleInterop": true,
|
|
"rootDir": "./src",
|
|
"outDir": "./src"
|
|
}
|
|
}
|