mirror of
https://github.com/stxer/stxer-sdk.git
synced 2026-05-20 04:40:59 +08:00
@tsconfig/recommended only guarantees target=es2016, which leaves ts2802 (cannot iterate ArrayIterator) and BigInt resolution sensitive to whatever the consuming tooling decides. Pin target explicitly to es2020 so Array#entries iteration in the samples and BigInt() calls in src/sample/_helpers.ts both type-check regardless of how the extended config evolves.
13 lines
283 B
JSON
13 lines
283 B
JSON
{
|
|
"extends": "@tsconfig/recommended/tsconfig.json",
|
|
"include": ["src", "types"],
|
|
"compilerOptions": {
|
|
"target": "es2020",
|
|
"module": "esnext",
|
|
"allowImportingTsExtensions": false,
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"noEmit": true
|
|
}
|
|
}
|