Files
semaphore/tsconfig.json
cedoor f569b2fc70 chore: update ts target to es2020
Targeting ES2020 looks like it's generally fine today. It's widely supported across modern browsers
and environments and it would allow Semaphore bundles to use new ES features natively, like arrow
functions, promises, and classes, which can improve code readability and efficiency.

re #688


Former-commit-id: 9f49d91197
2024-03-25 13:04:21 +00:00

27 lines
692 B
JSON

{
"compilerOptions": {
"baseUrl": ".",
"strict": true,
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"preserveConstEnums": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
"declarationDir": "types",
"typeRoots": ["node_modules/@types", "types"],
"paths": {
"@semaphore-protocol/*": ["./packages/*/src"]
}
},
"ts-node": {
"compilerOptions": {
"target": "esnext",
"module": "commonjs"
}
}
}