tsconfig.json
独自のtsconfig.jsonを使いたい時は--configオプションで指定できます。
code:shell
$ deno run --config ./tsconfig.json ./mod.ts
デフォルト
code:tsconfig.json
{
"compilerOptions": {
"allowJs": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"checkJs": false,
"experimentalDecorators": true,
"jsx": "react",
"jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment",
"keyofStringsOnly": false,
"noFallthroughCasesInSwitch": false,
"noImplicitAny": true,
"noImplicitReturns": false,
"noImplicitThis": true,
"noImplicitUseStrict": true,
"noStrictGenericChecks": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"reactNamespace": "React",
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"strictNullChecks": true,
"suppressExcessPropertyErrors": false,
"suppressImplicitAnyIndexErrors": false
}
}