workspace: use esnext set operations

This commit is contained in:
undefined committed 2026-04-05 23:12:48 +08:00
1 parent bf5533040e
commit 9c10219ecb
12 files changed
+28 -43

No files matched your search

+3 -3
View File
@@ -16,7 +16,7 @@ const withoutTypes = (data) => ({
/** @type {import('typescript/lib/typescript').CompilerOptions} */
const compilerOptionsBase = {
target: 'es2022',
lib: ['es2022'],
lib: ['esnext'],
module: 'preserve',
esModuleInterop: true,
moduleResolution: 'bundler',
@@ -106,7 +106,7 @@ const UIConfig = {
outDir: path.join(baseOutDir, 'ui'),
useDefineForClassFields: true,
lib: ['es2022', 'DOM', 'DOM.Iterable'],
lib: ['esnext', 'DOM', 'DOM.Iterable'],
/* Bundler mode */
moduleResolution: 'bundler',
@@ -143,7 +143,7 @@ const UINextConfig = {
noImplicitAny: false,
useDefineForClassFields: true,
lib: ['es2022', 'DOM', 'DOM.Iterable'],
lib: ['esnext', 'DOM', 'DOM.Iterable'],
/* Bundler mode */
moduleResolution: 'bundler',