mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
20 lines
609 B
JSON
20 lines
609 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "Node16",
|
|
"target": "ES2024",
|
|
"lib": [
|
|
"ES2024"
|
|
],
|
|
"sourceMap": true,
|
|
"rootDir": "src",
|
|
"strict": true, /* enable all strict type-checking options */
|
|
"outDir": "out",
|
|
"jsx": "react",
|
|
"jsxFactory": "vscpp",
|
|
"jsxFragmentFactory": "vscppf"
|
|
/* Additional Checks */
|
|
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
|
}
|
|
} |