Allow JavaScript files to be a part of your program allowJs": true (ok)

tsconfig.json

{
  "compilerOptions": {
    "target": "es2016",
    "module": "ES6",
    "baseUrl": "./",
    "paths": {
      "@models/*": [
        "src/models/*"
      ],
    },
    "allowJs": true,
    "declaration": true,
    "outDir": "./dist",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "skipLibCheck": true
  }
}

Last updated