My IDE always gives error TS7016: Could not find a declaration file for module 'db-migrate'
{
"allowSyntheticDefaults": true,
"exclude": ["node_modules", "src/**/*.test.ts", "src/**/tests/**"],
"include": ["src", "./node_modules/@machinomy/types-node-db-migrate/index.d.ts"],
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"alwaysStrict": true,
"baseUrl": "./",
"declaration": true,
"module": "CommonJS",
"moduleResolution": "Node",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "./dist/",
"removeComments": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"target": "esnext"
}
}
Thank you for your support.
My IDE always gives error TS7016: Could not find a declaration file for module 'db-migrate'
tsconfig.json:
Is there some config I'm missing?
Thank you for your support.
Mino