**What** - Fixes tsconfig to ensure a declaration file is included in the build. **Why** - Ensure tsserver can understand things from medusa-test-utils - Get rid of "Could not find a declaration file for module" warning in editors.
24 lines
580 B
JSON
24 lines
580 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": ["es5", "es6", "es2019"],
|
|
"target": "es5",
|
|
"outDir": "./dist",
|
|
"esModuleInterop": true,
|
|
"declaration": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"sourceMap": true,
|
|
"noImplicitReturns": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"noImplicitThis": true,
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"downlevelIteration": true
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|