Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS7016: Could not find a declaration file for module 'db-migrate' #2

Open
minotogna opened this issue Mar 31, 2021 · 0 comments
Open

Comments

@minotogna
Copy link

My IDE always gives error TS7016: Could not find a declaration file for module 'db-migrate'

Screenshot 2021-03-31 at 08 26 08

tsconfig.json:

{
  "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"
  }
}

Is there some config I'm missing?

Thank you for your support.

Mino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant