Description of Bug
Although tsconfig.json explicitly specifies "lib": ["ES2022"], StackBlitz still reports an error claiming that the target library does not include BigInt:
Error in src/app/app.ts (8:30)
Cannot find name 'BigInt'.
Do you need to change your target library?
Try changing the 'lib' compiler option to 'es2020' or later.
Since ES2022 already includes BigInt, this error should not occur. It appears that StackBlitz does not pick up the lib option from tsconfig.json.
Steps to Reproduce
Open https://stackblitz.com/edit/stackblitz-ignored-tsconfig-lib?file=src%2Fapp%2Fapp.ts,tsconfig.json%3AL20
Expected Behavior
StackBlitz should respect the lib option defined in tsconfig.json
Screenshots/Screencast
Related issues
Description of Bug
Although
tsconfig.jsonexplicitly specifies"lib": ["ES2022"], StackBlitz still reports an error claiming that the target library does not includeBigInt:Since
ES2022already includesBigInt, this error should not occur. It appears that StackBlitz does not pick up theliboption fromtsconfig.json.Steps to Reproduce
Open https://stackblitz.com/edit/stackblitz-ignored-tsconfig-lib?file=src%2Fapp%2Fapp.ts,tsconfig.json%3AL20
Expected Behavior
StackBlitz should respect the
liboption defined intsconfig.jsonScreenshots/Screencast
Related issues
Object.fromEntries#2030