fix: add ES2021 to ts compiler
This commit is contained in:
parent
2183387a3f
commit
c15b279d63
|
@ -27,6 +27,11 @@ export default async function (): Promise<PresetAsset> {
|
||||||
prettier: {
|
prettier: {
|
||||||
singleQuote: false,
|
singleQuote: false,
|
||||||
},
|
},
|
||||||
|
tsconfig: {
|
||||||
|
compilerOptions: {
|
||||||
|
lib: ["ES2021"],
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue