target / module

tsconfig.json

target / module

on tsconfig.json

{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true
  }
}

Change Test

"target": "es2015",
"module": "amd",

Modern JS

"target": "esnext",
"module": "esnext",

Strict

厳密な型チェック

Add Folder Path

ターゲット階層

ignore -> dist

Options

Last updated