降级es2020,实现 WeakRef Polyfill

This commit is contained in:
YHH
2025-10-11 00:25:10 +08:00
parent 7850fc610c
commit 9068a109b0
2 changed files with 57 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
{
"compilerOptions": {
"target": "ES2021",
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "node",
"allowImportingTsExtensions": false,
"lib": ["ES2021", "DOM"],
"lib": ["ES2020", "DOM"],
"outDir": "./bin",
"rootDir": "./src",
"strict": true,