@voidzero-dev/vite-plus-core 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/LICENSE +31 -7
  2. package/dist/rolldown/cli.d.mts +1 -1
  3. package/dist/rolldown/cli.mjs +6 -6
  4. package/dist/rolldown/config.d.mts +16 -17
  5. package/dist/rolldown/config.mjs +2 -2
  6. package/dist/rolldown/experimental-index.d.mts +164 -155
  7. package/dist/rolldown/experimental-index.mjs +23 -14
  8. package/dist/rolldown/experimental-runtime-types.d.ts +111 -41
  9. package/dist/rolldown/filter-index.d.mts +6 -5
  10. package/dist/rolldown/get-log-filter.d.mts +2 -2
  11. package/dist/rolldown/index.d.mts +3 -3
  12. package/dist/rolldown/index.mjs +4 -4
  13. package/dist/rolldown/parallel-plugin-worker.d.mts +1 -1
  14. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  15. package/dist/rolldown/parallel-plugin.d.mts +3 -4
  16. package/dist/rolldown/parse-ast-index.d.mts +19 -20
  17. package/dist/rolldown/parse-ast-index.mjs +1 -1
  18. package/dist/rolldown/plugins-index.d.mts +27 -28
  19. package/dist/rolldown/plugins-index.mjs +2 -2
  20. package/dist/rolldown/shared/{binding-D26QphWG.d.mts → binding-Dbbi0RbO.d.mts} +37 -25
  21. package/dist/rolldown/shared/{binding-TuFFIE_J.mjs → binding-Dby9rwGk.mjs} +26 -26
  22. package/dist/rolldown/shared/{bindingify-input-options-CwbcQL6W.mjs → bindingify-input-options-DVQ4K-zY.mjs} +5 -5
  23. package/dist/rolldown/shared/{constructors-BbWPse2X.d.mts → constructors-CSWbNgBZ.d.mts} +9 -10
  24. package/dist/rolldown/shared/{constructors-D_3i7dpX.mjs → constructors-CuGa75s-.mjs} +1 -1
  25. package/dist/rolldown/shared/define-config-B-IDOhDz.d.mts +4003 -0
  26. package/dist/rolldown/shared/{error-BHRSI0R7.mjs → error-DFGNOCle.mjs} +1 -1
  27. package/dist/rolldown/shared/get-log-filter-AjBknEEO.d.mts +34 -0
  28. package/dist/rolldown/shared/{load-config-Bd7MgqCK.mjs → load-config-R0z2olkB.mjs} +1 -1
  29. package/dist/rolldown/shared/{logging-BSNejiLS.d.mts → logging-xuHO4mAy.d.mts} +6 -6
  30. package/dist/rolldown/shared/{normalize-string-or-regex-dnh67V_w.mjs → normalize-string-or-regex-SiXbePVH.mjs} +1 -1
  31. package/dist/rolldown/shared/{parse-B6_waszz.mjs → parse-D5dkElpf.mjs} +2 -2
  32. package/dist/rolldown/shared/{resolve-tsconfig-DxqIJB3x.mjs → resolve-tsconfig-2TXRF_zr.mjs} +2 -2
  33. package/dist/rolldown/shared/{rolldown-CACDGVWV.mjs → rolldown-BnV7isAX.mjs} +1 -1
  34. package/dist/rolldown/shared/{rolldown-build-BV22mk7t.mjs → rolldown-build-BGXNOfvH.mjs} +4 -4
  35. package/dist/rolldown/shared/transform-Cs2bUDRH.d.mts +148 -0
  36. package/dist/rolldown/shared/{watch-CS_JygCu.mjs → watch-DVucf-VG.mjs} +4 -4
  37. package/dist/rolldown/utils-index.d.mts +29 -30
  38. package/dist/rolldown/utils-index.mjs +6 -8
  39. package/dist/tsdown/{build-BlM3pDGJ-C8Uovnt4.js → build-oq13wECG-Bymq3jT5.js} +131 -1240
  40. package/dist/tsdown/debug-BntVTkRq-BGIoAiTa.js +159 -0
  41. package/dist/tsdown/{detect-BNXt7gkp-DKAC9Z7n.js → detect-DGhJGEqb-S-tkSzpt.js} +7 -1
  42. package/dist/tsdown/{dist-Pjag7IPt.js → dist-CxIM8o7n.js} +1936 -2529
  43. package/dist/tsdown/dist-DCMiHFrJ.js +1061 -0
  44. package/dist/tsdown/index-types.d.ts +729 -553
  45. package/dist/tsdown/index.js +4 -4
  46. package/dist/tsdown/internal-C7ewSPAZ.js +3 -0
  47. package/dist/tsdown/load-tsc-BKULZsrs-BFmeD6Bu.js +18 -0
  48. package/dist/tsdown/{main-BlTcyuFi.js → main-BdzlWPt6.js} +214 -9
  49. package/dist/tsdown/{resolver-DtsKFXi2-B8Z3WwZh.js → resolver-cwLsPb2o-oj1hqxK6.js} +4 -3
  50. package/dist/tsdown/run.js +4 -4
  51. package/dist/tsdown/{src-CK50m8R_.js → src-BV-UJr_R.js} +5 -5
  52. package/dist/tsdown/target-CNxIDvSz-eoHNdJNs.js +576 -0
  53. package/dist/tsdown/tsc-context-CA76SkkZ.js +23 -0
  54. package/dist/tsdown/{tsc-CilQvmj4.js → tsc-zcbB6ZVY.js} +49 -116
  55. package/dist/tsdown/tsdown-css.js +5 -5
  56. package/dist/tsdown/tsdown-exe.js +129 -877
  57. package/dist/vite/client/client.mjs +5 -5
  58. package/dist/vite/node/chunks/build.js +19 -19
  59. package/dist/vite/node/chunks/moduleRunnerTransport.d.ts +25 -26
  60. package/dist/vite/node/chunks/node.js +73 -38
  61. package/dist/vite/node/chunks/postcss-import.js +10 -10
  62. package/dist/vite/node/index.d.ts +1282 -1283
  63. package/dist/vite/node/module-runner.d.ts +76 -77
  64. package/dist/vite/node/module-runner.js +6 -7
  65. package/package.json +16 -16
  66. package/dist/rolldown/shared/define-config-BhJ90aEv.d.mts +0 -3978
  67. package/dist/rolldown/shared/get-log-filter-BpNVNJ5-.d.mts +0 -35
  68. package/dist/rolldown/shared/transform-BPrUvqEZ.d.mts +0 -149
  69. package/dist/tsdown/debug-B1wUEHkd-DhRzGJTf.js +0 -265
  70. package/dist/tsdown/fs-qxJxxoCE-B_amenYz.js +0 -46
  71. package/dist/tsdown/general-Cp4NiJNK-xAqmPhMP.js +0 -97
  72. package/dist/tsdown/internal-Bn6NGoha.js +0 -3
  73. package/dist/tsdown/npm_cjs_chunk_range.cjs +0 -475
  74. package/dist/tsdown/npm_cjs_chunk_semver.cjs +0 -357
  75. package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +0 -52
  76. package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +0 -19
  77. package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +0 -46
  78. package/dist/tsdown/target-CqeSqtms-CIvlAiuG.js +0 -35
  79. package/dist/tsdown/tsc-context-BusiAGCd.js +0 -27
@@ -4,37 +4,9 @@ import { StartOptions } from "@vitejs/devtools/cli-commands";
4
4
  import { CheckPackageOptions } from "@arethetypeswrong/core";
5
5
  import { Options } from "publint";
6
6
  import { TransformOptions } from "lightningcss";
7
+ import { FileExtensionInfo } from "typescript";
7
8
  import { IsolatedDeclarationsOptions } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
8
9
  import { Options as UnusedOptions } from "unplugin-unused";
9
-
10
- //#region ../../node_modules/.pnpm/tsdown@0.22.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.7_@tsdown+exe@0.22.7_@type_53c241a653f2227a5df8ba2949047afe/node_modules/tsdown/dist/logger-KL98uddX.d.mts
11
- //#region src/utils/types.d.ts
12
- type Overwrite<T, U> = Omit<T, keyof U> & U;
13
- type Awaitable<T> = T | Promise<T>;
14
- type MarkPartial<T, K extends keyof T> = Omit<Required<T>, K> & Partial<Pick<T, K>>;
15
- type Arrayable<T> = T | T[]; //#endregion
16
- //#region src/utils/logger.d.ts
17
- type LogType = "error" | "warn" | "info";
18
- type LogLevel = LogType | "silent";
19
- interface LoggerOptions {
20
- allowClearScreen?: boolean;
21
- customLogger?: Logger;
22
- console?: Console;
23
- failOnWarn?: boolean;
24
- suppressWarnings?: Arrayable<RegExp | string> | ((msg: string) => boolean);
25
- }
26
- interface Logger {
27
- level: LogLevel;
28
- options?: LoggerOptions;
29
- info: (...args: any[]) => void;
30
- warn: (...args: any[]) => void;
31
- warnOnce: (...args: any[]) => void;
32
- error: (...args: any[]) => void;
33
- success: (...args: any[]) => void;
34
- clearScreen: (type: LogType) => void;
35
- }
36
- declare const globalLogger: Logger; //#endregion
37
- //#endregion
38
10
  //#region ../../node_modules/.pnpm/hookable@6.1.1/node_modules/hookable/dist/index.d.mts
39
11
  type HookCallback = (...arguments_: any) => Promise<void> | void;
40
12
  type HookKeys<T> = keyof T & string;
@@ -44,20 +16,20 @@ type DeprecatedHook<T> = {
44
16
  };
45
17
  type ValueOf<C> = C extends Record<any, any> ? C[keyof C] : never;
46
18
  type Strings<T> = Exclude<keyof T, number | symbol>;
47
- type KnownKeys<T> = keyof { [K in keyof T as string extends K ? never : number extends K ? never : K]: never };
19
+ type KnownKeys<T> = keyof { [K in keyof T as string extends K ? never : number extends K ? never : K]: never; };
48
20
  type StripGeneric<T> = Pick<T, KnownKeys<T> extends keyof T ? KnownKeys<T> : never>;
49
21
  type OnlyGeneric<T> = Omit<T, KnownKeys<T> extends keyof T ? KnownKeys<T> : never>;
50
- type Namespaces<T> = ValueOf<{ [key in Strings<T>]: key extends `${infer Namespace}:${string}` ? Namespace : never }>;
51
- type BareHooks<T> = ValueOf<{ [key in Strings<T>]: key extends `${string}:${string}` ? never : key }>;
52
- type HooksInNamespace<T, Namespace extends string> = ValueOf<{ [key in Strings<T>]: key extends `${Namespace}:${infer HookName}` ? HookName : never }>;
53
- type WithoutNamespace<T, Namespace extends string> = { [key in HooksInNamespace<T, Namespace>]: `${Namespace}:${key}` extends keyof T ? T[`${Namespace}:${key}`] : never };
54
- type NestedHooks<T> = (Partial<StripGeneric<T>> | Partial<OnlyGeneric<T>>) & Partial<{ [key in Namespaces<StripGeneric<T>>]: NestedHooks<WithoutNamespace<T, key>> }> & Partial<{ [key in BareHooks<StripGeneric<T>>]: T[key] }>;
22
+ type Namespaces<T> = ValueOf<{ [key in Strings<T>]: key extends `${infer Namespace}:${string}` ? Namespace : never; }>;
23
+ type BareHooks<T> = ValueOf<{ [key in Strings<T>]: key extends `${string}:${string}` ? never : key; }>;
24
+ type HooksInNamespace<T, Namespace extends string> = ValueOf<{ [key in Strings<T>]: key extends `${Namespace}:${infer HookName}` ? HookName : never; }>;
25
+ type WithoutNamespace<T, Namespace extends string> = { [key in HooksInNamespace<T, Namespace>]: `${Namespace}:${key}` extends keyof T ? T[`${Namespace}:${key}`] : never; };
26
+ type NestedHooks<T> = (Partial<StripGeneric<T>> | Partial<OnlyGeneric<T>>) & Partial<{ [key in Namespaces<StripGeneric<T>>]: NestedHooks<WithoutNamespace<T, key>>; }> & Partial<{ [key in BareHooks<StripGeneric<T>>]: T[key]; }>;
55
27
  type InferCallback<HT, HN extends keyof HT> = HT[HN] extends HookCallback ? HT[HN] : never;
56
28
  type InferSpyEvent<HT extends Record<string, any>> = { [key in keyof HT]: {
57
29
  name: key;
58
30
  args: Parameters<HT[key]>;
59
31
  context: Record<string, any>;
60
- } }[keyof HT];
32
+ }; }[keyof HT];
61
33
  declare class Hookable<HooksT extends Record<string, any> = Record<string, HookCallback>, HookNameT extends HookKeys<HooksT> = HookKeys<HooksT>> {
62
34
  private _hooks;
63
35
  private _before?;
@@ -90,9 +62,8 @@ declare global {
90
62
  createTask?: CreateTask;
91
63
  }
92
64
  }
93
- /** @deprecated */
94
65
  //#endregion
95
- //#region ../../node_modules/.pnpm/@tsdown+exe@0.22.7_tsdown@0.22.7/node_modules/@tsdown/exe/dist/index.d.mts
66
+ //#region ../../node_modules/.pnpm/@tsdown+exe@0.22.13_tsdown@0.22.13/node_modules/@tsdown/exe/dist/index.d.mts
96
67
  //#region src/platform.d.ts
97
68
  type ExePlatform = "win" | "darwin" | "linux";
98
69
  type ExeArch = "x64" | "arm64";
@@ -106,7 +77,8 @@ interface ExeTarget {
106
77
  * `"latest"` / `"latest-lts"` which resolve the version automatically from
107
78
  * {@link https://nodejs.org/dist/index.json}.
108
79
  *
109
- * The minimum required version is 25.7.0, which is when SEA support was added to Node.js.
80
+ * The minimum required version is 25.7.0, which is when ESM entry point
81
+ * support was added to Node.js SEA.
110
82
  */
111
83
  nodeVersion: (string & {}) | "latest" | "latest-lts" | `${string}.${string}.${string}`;
112
84
  }
@@ -126,9 +98,14 @@ interface ExeExtensionOptions {
126
98
  * ```
127
99
  */
128
100
  targets?: ExeTarget[];
101
+ getDownloadUrl?: (target: ExeTarget) => string | Promise<string>;
102
+ /**
103
+ * @default 'https://nodejs.org/dist/index.json'
104
+ */
105
+ nodeDistIndexUrl?: string;
129
106
  }
130
107
  //#endregion
131
- //#region ../../node_modules/.pnpm/@tsdown+css@0.22.7_jiti@2.7.0_postcss-import@16.1.1_postcss@8.5.16__postcss-modules@9.0_1c733d87075d7caaba5f5a5461b5a5e5/node_modules/@tsdown/css/dist/index.d.mts
108
+ //#region ../../node_modules/.pnpm/@tsdown+css@0.22.13_jiti@2.7.0_postcss-import@16.1.1_postcss@8.5.20__postcss@8.5.20_sas_3e4d0025e048aeda9bd895926fc2faf1/node_modules/@tsdown/css/dist/index.d.mts
132
109
  //#region src/options.d.ts
133
110
  type LightningCSSOptions = Omit<TransformOptions<any>, "filename" | "code">;
134
111
  interface CSSModulesOptions {
@@ -283,632 +260,751 @@ interface StylusPreprocessorOptions {
283
260
  [key: string]: any;
284
261
  }
285
262
  //#endregion
263
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/volar-ynbQeQZt.d.mts
264
+ //#region src/volar.d.ts
265
+ interface VolarPlugin {
266
+ extensionPatterns: RegExp[];
267
+ tsFileExtensionInfos: FileExtensionInfo[];
268
+ volarTypeScript: typeof import("@volar/typescript");
269
+ create: Parameters<(typeof import("@volar/typescript"))["proxyCreateProgram"]>[2];
270
+ toTsFilename?: (id: string) => string;
271
+ }
272
+ //#endregion
286
273
  //#region ../../node_modules/.pnpm/get-tsconfig@5.0.0-beta.5/node_modules/get-tsconfig/dist/index.d.mts
287
274
  declare namespace TsConfigJson {
288
275
  namespace CompilerOptions {
289
276
  type JSX = 'preserve' | 'react' | 'react-jsx' | 'react-jsxdev' | 'react-native';
290
- type Module = 'CommonJS' | 'AMD' | 'System' | 'UMD' | 'ES6' | 'ES2015' | 'ES2020' | 'ES2022' | 'ESNext' | 'Node16' | 'Node18' | 'Node20' | 'NodeNext' | 'Preserve' | 'None' // Lowercase alternatives
291
- | 'commonjs' | 'amd' | 'system' | 'umd' | 'es6' | 'es2015' | 'es2020' | 'es2022' | 'esnext' | 'node16' | 'node18' | 'node20' | 'nodenext' | 'preserve' | 'none';
292
- type NewLine = 'CRLF' | 'LF' // Lowercase alternatives
293
- | 'crlf' | 'lf';
294
- type Target = 'ES3' | 'ES5' | 'ES6' | 'ES2015' | 'ES2016' | 'ES2017' | 'ES2018' | 'ES2019' | 'ES2020' | 'ES2021' | 'ES2022' | 'ES2023' | 'ES2024' | 'ESNext' // Lowercase alternatives
295
- | 'es3' | 'es5' | 'es6' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'es2023' | 'es2024' | 'esnext';
296
- type Lib = 'ES5' | 'ES6' | 'ES7' | 'ES2015' | 'ES2015.Collection' | 'ES2015.Core' | 'ES2015.Generator' | 'ES2015.Iterable' | 'ES2015.Promise' | 'ES2015.Proxy' | 'ES2015.Reflect' | 'ES2015.Symbol.WellKnown' | 'ES2015.Symbol' | 'ES2016' | 'ES2016.Array.Include' | 'ES2017' | 'ES2017.ArrayBuffer' | 'ES2017.Date' | 'ES2017.Intl' | 'ES2017.Object' | 'ES2017.SharedMemory' | 'ES2017.String' | 'ES2017.TypedArrays' | 'ES2018' | 'ES2018.AsyncGenerator' | 'ES2018.AsyncIterable' | 'ES2018.Intl' | 'ES2018.Promise' | 'ES2018.Regexp' | 'ES2019' | 'ES2019.Array' | 'ES2019.Intl' | 'ES2019.Object' | 'ES2019.String' | 'ES2019.Symbol' | 'ES2020' | 'ES2020.BigInt' | 'ES2020.Date' | 'ES2020.Intl' | 'ES2020.Number' | 'ES2020.Promise' | 'ES2020.SharedMemory' | 'ES2020.String' | 'ES2020.Symbol.WellKnown' | 'ES2021' | 'ES2021.Intl' | 'ES2021.Promise' | 'ES2021.String' | 'ES2021.WeakRef' | 'ES2022' | 'ES2022.Array' | 'ES2022.Error' | 'ES2022.Intl' | 'ES2022.Object' | 'ES2022.RegExp' | 'ES2022.SharedMemory' | 'ES2022.String' | 'ES2023' | 'ES2023.Array' | 'ES2023.Collection' | 'ES2023.Intl' | 'ES2024' | 'ES2024.ArrayBuffer' | 'ES2024.Collection' | 'ES2024.Object' | 'ES2024.Promise' | 'ES2024.Regexp' | 'ES2024.SharedMemory' | 'ES2024.String' | 'ESNext' | 'ESNext.Array' | 'ESNext.AsyncIterable' | 'ESNext.BigInt' | 'ESNext.Collection' | 'ESNext.Decorators' | 'ESNext.Disposable' | 'ESNext.Error' | 'ESNext.Intl' | 'ESNext.Iterator' | 'ESNext.Object' | 'ESNext.Promise' | 'ESNext.Regexp' | 'ESNext.String' | 'ESNext.Symbol' | 'ESNext.WeakRef' | 'DOM' | 'DOM.AsyncIterable' | 'DOM.Iterable' | 'Decorators' | 'Decorators.Legacy' | 'ScriptHost' | 'WebWorker' | 'WebWorker.AsyncIterable' | 'WebWorker.ImportScripts' | 'WebWorker.Iterable' // Lowercase alternatives
297
- | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol.wellknown' | 'es2015.symbol' | 'es2016' | 'es2016.array.include' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.sharedmemory' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.error' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'decorators' | 'decorators.legacy' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable';
277
+ type Module = 'CommonJS' | 'AMD' | 'System' | 'UMD' | 'ES6' | 'ES2015' | 'ES2020' | 'ES2022' | 'ESNext' | 'Node16' | 'Node18' | 'Node20' | 'NodeNext' | 'Preserve' | 'None' |
278
+ // Lowercase alternatives
279
+ 'commonjs' | 'amd' | 'system' | 'umd' | 'es6' | 'es2015' | 'es2020' | 'es2022' | 'esnext' | 'node16' | 'node18' | 'node20' | 'nodenext' | 'preserve' | 'none';
280
+ type NewLine = 'CRLF' | 'LF' |
281
+ // Lowercase alternatives
282
+ 'crlf' | 'lf';
283
+ type Target = 'ES3' | 'ES5' | 'ES6' | 'ES2015' | 'ES2016' | 'ES2017' | 'ES2018' | 'ES2019' | 'ES2020' | 'ES2021' | 'ES2022' | 'ES2023' | 'ES2024' | 'ESNext' |
284
+ // Lowercase alternatives
285
+ 'es3' | 'es5' | 'es6' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'es2023' | 'es2024' | 'esnext';
286
+ type Lib = 'ES5' | 'ES6' | 'ES7' | 'ES2015' | 'ES2015.Collection' | 'ES2015.Core' | 'ES2015.Generator' | 'ES2015.Iterable' | 'ES2015.Promise' | 'ES2015.Proxy' | 'ES2015.Reflect' | 'ES2015.Symbol.WellKnown' | 'ES2015.Symbol' | 'ES2016' | 'ES2016.Array.Include' | 'ES2017' | 'ES2017.ArrayBuffer' | 'ES2017.Date' | 'ES2017.Intl' | 'ES2017.Object' | 'ES2017.SharedMemory' | 'ES2017.String' | 'ES2017.TypedArrays' | 'ES2018' | 'ES2018.AsyncGenerator' | 'ES2018.AsyncIterable' | 'ES2018.Intl' | 'ES2018.Promise' | 'ES2018.Regexp' | 'ES2019' | 'ES2019.Array' | 'ES2019.Intl' | 'ES2019.Object' | 'ES2019.String' | 'ES2019.Symbol' | 'ES2020' | 'ES2020.BigInt' | 'ES2020.Date' | 'ES2020.Intl' | 'ES2020.Number' | 'ES2020.Promise' | 'ES2020.SharedMemory' | 'ES2020.String' | 'ES2020.Symbol.WellKnown' | 'ES2021' | 'ES2021.Intl' | 'ES2021.Promise' | 'ES2021.String' | 'ES2021.WeakRef' | 'ES2022' | 'ES2022.Array' | 'ES2022.Error' | 'ES2022.Intl' | 'ES2022.Object' | 'ES2022.RegExp' | 'ES2022.SharedMemory' | 'ES2022.String' | 'ES2023' | 'ES2023.Array' | 'ES2023.Collection' | 'ES2023.Intl' | 'ES2024' | 'ES2024.ArrayBuffer' | 'ES2024.Collection' | 'ES2024.Object' | 'ES2024.Promise' | 'ES2024.Regexp' | 'ES2024.SharedMemory' | 'ES2024.String' | 'ESNext' | 'ESNext.Array' | 'ESNext.AsyncIterable' | 'ESNext.BigInt' | 'ESNext.Collection' | 'ESNext.Decorators' | 'ESNext.Disposable' | 'ESNext.Error' | 'ESNext.Intl' | 'ESNext.Iterator' | 'ESNext.Object' | 'ESNext.Promise' | 'ESNext.Regexp' | 'ESNext.String' | 'ESNext.Symbol' | 'ESNext.WeakRef' | 'DOM' | 'DOM.AsyncIterable' | 'DOM.Iterable' | 'Decorators' | 'Decorators.Legacy' | 'ScriptHost' | 'WebWorker' | 'WebWorker.AsyncIterable' | 'WebWorker.ImportScripts' | 'WebWorker.Iterable' |
287
+ // Lowercase alternatives
288
+ 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol.wellknown' | 'es2015.symbol' | 'es2016' | 'es2016.array.include' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.sharedmemory' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.error' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'decorators' | 'decorators.legacy' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable';
298
289
  type Plugin = {
299
290
  /**
300
- Plugin name.
301
- */
291
+ Plugin name.
292
+ */
302
293
  name: string;
303
294
  };
304
295
  type ImportsNotUsedAsValues = 'remove' | 'preserve' | 'error';
305
296
  type FallbackPolling = 'fixedPollingInterval' | 'priorityPollingInterval' | 'dynamicPriorityPolling' | 'fixedInterval' | 'priorityInterval' | 'dynamicPriority' | 'fixedChunkSize';
306
297
  type WatchDirectory = 'useFsEvents' | 'fixedPollingInterval' | 'dynamicPriorityPolling' | 'fixedChunkSizePolling';
307
298
  type WatchFile = 'fixedPollingInterval' | 'priorityPollingInterval' | 'dynamicPriorityPolling' | 'useFsEvents' | 'useFsEventsOnParentDirectory' | 'fixedChunkSizePolling';
308
- type ModuleResolution = 'classic' | 'node' | 'node10' | 'node16' | 'nodenext' | 'bundler' // Pascal-cased alternatives
309
- | 'Classic' | 'Node' | 'Node10' | 'Node16' | 'NodeNext' | 'Bundler';
299
+ type ModuleResolution = 'classic' | 'node' | 'node10' | 'node16' | 'nodenext' | 'bundler' |
300
+ // Pascal-cased alternatives
301
+ 'Classic' | 'Node' | 'Node10' | 'Node16' | 'NodeNext' | 'Bundler';
310
302
  type ModuleDetection = 'auto' | 'legacy' | 'force';
311
303
  type IgnoreDeprecations = '5.0';
312
304
  }
313
305
  type CompilerOptions = {
314
306
  /**
315
- The character set of the input files.
316
- @default 'utf8'
317
- @deprecated This option will be removed in TypeScript 5.5.
318
- */
307
+ The character set of the input files.
308
+
309
+ @default 'utf8'
310
+ @deprecated This option will be removed in TypeScript 5.5.
311
+ */
319
312
  charset?: string;
320
313
  /**
321
- Enables building for project references.
322
- @default true
323
- */
314
+ Enables building for project references.
315
+
316
+ @default true
317
+ */
324
318
  composite?: boolean;
325
319
  /**
326
- Generates corresponding d.ts files.
327
- @default false
328
- */
320
+ Generates corresponding d.ts files.
321
+
322
+ @default false
323
+ */
329
324
  declaration?: boolean;
330
325
  /**
331
- Specify output directory for generated declaration files.
332
- */
326
+ Specify output directory for generated declaration files.
327
+ */
333
328
  declarationDir?: string;
334
329
  /**
335
- Show diagnostic information.
336
- @default false
337
- */
330
+ Show diagnostic information.
331
+
332
+ @default false
333
+ */
338
334
  diagnostics?: boolean;
339
335
  /**
340
- Reduce the number of projects loaded automatically by TypeScript.
341
- @default false
342
- */
336
+ Reduce the number of projects loaded automatically by TypeScript.
337
+
338
+ @default false
339
+ */
343
340
  disableReferencedProjectLoad?: boolean;
344
341
  /**
345
- Enforces using indexed accessors for keys declared using an indexed type.
346
- @default false
347
- */
342
+ Enforces using indexed accessors for keys declared using an indexed type.
343
+
344
+ @default false
345
+ */
348
346
  noPropertyAccessFromIndexSignature?: boolean;
349
347
  /**
350
- Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
351
- @default false
352
- */
348
+ Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
349
+
350
+ @default false
351
+ */
353
352
  emitBOM?: boolean;
354
353
  /**
355
- Only emit `.d.ts` declaration files.
356
- @default false
357
- */
354
+ Only emit `.d.ts` declaration files.
355
+
356
+ @default false
357
+ */
358
358
  emitDeclarationOnly?: boolean;
359
359
  /**
360
- Differentiate between undefined and not present when type checking.
361
- @default false
362
- */
360
+ Differentiate between undefined and not present when type checking.
361
+
362
+ @default false
363
+ */
363
364
  exactOptionalPropertyTypes?: boolean;
364
365
  /**
365
- Enable incremental compilation.
366
- @default `composite`
367
- */
366
+ Enable incremental compilation.
367
+
368
+ @default `composite`
369
+ */
368
370
  incremental?: boolean;
369
371
  /**
370
- Specify file to store incremental compilation information.
371
- @default '.tsbuildinfo'
372
- */
372
+ Specify file to store incremental compilation information.
373
+
374
+ @default '.tsbuildinfo'
375
+ */
373
376
  tsBuildInfoFile?: string;
374
377
  /**
375
- Emit a single file with source maps instead of having a separate file.
376
- @default false
377
- */
378
+ Emit a single file with source maps instead of having a separate file.
379
+
380
+ @default false
381
+ */
378
382
  inlineSourceMap?: boolean;
379
383
  /**
380
- Emit the source alongside the sourcemaps within a single file.
381
- Requires `--inlineSourceMap` to be set.
382
- @default false
383
- */
384
+ Emit the source alongside the sourcemaps within a single file.
385
+
386
+ Requires `--inlineSourceMap` to be set.
387
+
388
+ @default false
389
+ */
384
390
  inlineSources?: boolean;
385
391
  /**
386
- Specify what JSX code is generated.
387
- @default 'preserve'
388
- */
392
+ Specify what JSX code is generated.
393
+
394
+ @default 'preserve'
395
+ */
389
396
  jsx?: CompilerOptions.JSX;
390
397
  /**
391
- Specifies the object invoked for `createElement` and `__spread` when targeting `'react'` JSX emit.
392
- @default 'React'
393
- */
398
+ Specifies the object invoked for `createElement` and `__spread` when targeting `'react'` JSX emit.
399
+
400
+ @default 'React'
401
+ */
394
402
  reactNamespace?: string;
395
403
  /**
396
- Specify the JSX factory function to use when targeting React JSX emit, e.g. `React.createElement` or `h`.
397
- @default 'React.createElement'
398
- */
404
+ Specify the JSX factory function to use when targeting React JSX emit, e.g. `React.createElement` or `h`.
405
+
406
+ @default 'React.createElement'
407
+ */
399
408
  jsxFactory?: string;
400
409
  /**
401
- Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.
402
- @default 'React.Fragment'
403
- */
410
+ Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.
411
+
412
+ @default 'React.Fragment'
413
+ */
404
414
  jsxFragmentFactory?: string;
405
415
  /**
406
- Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.
407
- @default 'react'
408
- */
416
+ Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.
417
+
418
+ @default 'react'
419
+ */
409
420
  jsxImportSource?: string;
410
421
  /**
411
- Print names of files part of the compilation.
412
- @default false
413
- */
422
+ Print names of files part of the compilation.
423
+
424
+ @default false
425
+ */
414
426
  listFiles?: boolean;
415
427
  /**
416
- Specifies the location where debugger should locate map files instead of generated locations.
417
- */
428
+ Specifies the location where debugger should locate map files instead of generated locations.
429
+ */
418
430
  mapRoot?: string;
419
431
  /**
420
- Specify module code generation: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES6', 'ES2015' or 'ESNext'. Only 'AMD' and 'System' can be used in conjunction with `--outFile`. 'ES6' and 'ES2015' values may be used when targeting 'ES5' or lower.
421
- @default ['ES3', 'ES5'].includes(target) ? 'CommonJS' : 'ES6'
422
- */
432
+ Specify module code generation: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES6', 'ES2015' or 'ESNext'. Only 'AMD' and 'System' can be used in conjunction with `--outFile`. 'ES6' and 'ES2015' values may be used when targeting 'ES5' or lower.
433
+
434
+ @default ['ES3', 'ES5'].includes(target) ? 'CommonJS' : 'ES6'
435
+ */
423
436
  module?: CompilerOptions.Module;
424
437
  /**
425
- Specifies module resolution strategy: 'node' (Node) or 'classic' (TypeScript pre 1.6).
426
- @default ['AMD', 'System', 'ES6'].includes(module) ? 'classic' : 'node'
427
- */
438
+ Specifies module resolution strategy: 'node' (Node) or 'classic' (TypeScript pre 1.6).
439
+
440
+ @default ['AMD', 'System', 'ES6'].includes(module) ? 'classic' : 'node'
441
+ */
428
442
  moduleResolution?: CompilerOptions.ModuleResolution;
429
443
  /**
430
- Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix).
431
- @default 'LF'
432
- */
444
+ Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix).
445
+
446
+ @default 'LF'
447
+ */
433
448
  newLine?: CompilerOptions.NewLine;
434
449
  /**
435
- Disable full type checking (only critical parse and emit errors will be reported).
436
- @default false
437
- */
450
+ Disable full type checking (only critical parse and emit errors will be reported).
451
+
452
+ @default false
453
+ */
438
454
  noCheck?: boolean;
439
455
  /**
440
- Do not emit output.
441
- @default false
442
- */
456
+ Do not emit output.
457
+
458
+ @default false
459
+ */
443
460
  noEmit?: boolean;
444
461
  /**
445
- Do not generate custom helper functions like `__extends` in compiled output.
446
- @default false
447
- */
462
+ Do not generate custom helper functions like `__extends` in compiled output.
463
+
464
+ @default false
465
+ */
448
466
  noEmitHelpers?: boolean;
449
467
  /**
450
- Do not emit outputs if any type checking errors were reported.
451
- @default false
452
- */
468
+ Do not emit outputs if any type checking errors were reported.
469
+
470
+ @default false
471
+ */
453
472
  noEmitOnError?: boolean;
454
473
  /**
455
- Warn on expressions and declarations with an implied 'any' type.
456
- @default false
457
- */
474
+ Warn on expressions and declarations with an implied 'any' type.
475
+
476
+ @default false
477
+ */
458
478
  noImplicitAny?: boolean;
459
479
  /**
460
- Raise error on 'this' expressions with an implied any type.
461
- @default false
462
- */
480
+ Raise error on 'this' expressions with an implied any type.
481
+
482
+ @default false
483
+ */
463
484
  noImplicitThis?: boolean;
464
485
  /**
465
- Report errors on unused locals.
466
- @default false
467
- */
486
+ Report errors on unused locals.
487
+
488
+ @default false
489
+ */
468
490
  noUnusedLocals?: boolean;
469
491
  /**
470
- Report errors on unused parameters.
471
- @default false
472
- */
492
+ Report errors on unused parameters.
493
+
494
+ @default false
495
+ */
473
496
  noUnusedParameters?: boolean;
474
497
  /**
475
- Do not include the default library file (lib.d.ts).
476
- @default false
477
- */
498
+ Do not include the default library file (lib.d.ts).
499
+
500
+ @default false
501
+ */
478
502
  noLib?: boolean;
479
503
  /**
480
- Do not add triple-slash references or module import targets to the list of compiled files.
481
- @default false
482
- */
504
+ Do not add triple-slash references or module import targets to the list of compiled files.
505
+
506
+ @default false
507
+ */
483
508
  noResolve?: boolean;
484
509
  /**
485
- Disable strict checking of generic signatures in function types.
486
- @default false
487
- @deprecated This option will be removed in TypeScript 5.5.
488
- */
510
+ Disable strict checking of generic signatures in function types.
511
+
512
+ @default false
513
+ @deprecated This option will be removed in TypeScript 5.5.
514
+ */
489
515
  noStrictGenericChecks?: boolean;
490
516
  /**
491
- @deprecated use `skipLibCheck` instead.
492
- */
517
+ @deprecated use `skipLibCheck` instead.
518
+ */
493
519
  skipDefaultLibCheck?: boolean;
494
520
  /**
495
- Skip type checking of declaration files.
496
- @default false
497
- */
521
+ Skip type checking of declaration files.
522
+
523
+ @default false
524
+ */
498
525
  skipLibCheck?: boolean;
499
526
  /**
500
- Concatenate and emit output to single file.
501
- */
527
+ Concatenate and emit output to single file.
528
+ */
502
529
  outFile?: string;
503
530
  /**
504
- Redirect output structure to the directory.
505
- */
531
+ Redirect output structure to the directory.
532
+ */
506
533
  outDir?: string;
507
534
  /**
508
- Do not erase const enum declarations in generated code.
509
- @default false
510
- */
535
+ Do not erase const enum declarations in generated code.
536
+
537
+ @default false
538
+ */
511
539
  preserveConstEnums?: boolean;
512
540
  /**
513
- Do not resolve symlinks to their real path; treat a symlinked file like a real one.
514
- @default false
515
- */
541
+ Do not resolve symlinks to their real path; treat a symlinked file like a real one.
542
+
543
+ @default false
544
+ */
516
545
  preserveSymlinks?: boolean;
517
546
  /**
518
- Keep outdated console output in watch mode instead of clearing the screen.
519
- @default false
520
- */
547
+ Keep outdated console output in watch mode instead of clearing the screen.
548
+
549
+ @default false
550
+ */
521
551
  preserveWatchOutput?: boolean;
522
552
  /**
523
- Stylize errors and messages using color and context (experimental).
524
- @default true // Unless piping to another program or redirecting output to a file.
525
- */
553
+ Stylize errors and messages using color and context (experimental).
554
+
555
+ @default true // Unless piping to another program or redirecting output to a file.
556
+ */
526
557
  pretty?: boolean;
527
558
  /**
528
- Do not emit comments to output.
529
- @default false
530
- */
559
+ Do not emit comments to output.
560
+
561
+ @default false
562
+ */
531
563
  removeComments?: boolean;
532
564
  /**
533
- Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files.
534
- @default false
535
- */
565
+ Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files.
566
+
567
+ @default false
568
+ */
536
569
  rewriteRelativeImportExtensions?: boolean;
537
570
  /**
538
- Specifies the root directory of input files.
539
- Use to control the output directory structure with `--outDir`.
540
- */
571
+ Specifies the root directory of input files.
572
+
573
+ Use to control the output directory structure with `--outDir`.
574
+ */
541
575
  rootDir?: string;
542
576
  /**
543
- Unconditionally emit imports for unresolved files.
544
- @default false
545
- */
577
+ Unconditionally emit imports for unresolved files.
578
+
579
+ @default false
580
+ */
546
581
  isolatedModules?: boolean;
547
582
  /**
548
- Require sufficient annotation on exports so other tools can trivially generate declaration files.
549
- @default false
550
- */
583
+ Require sufficient annotation on exports so other tools can trivially generate declaration files.
584
+
585
+ @default false
586
+ */
551
587
  isolatedDeclarations?: boolean;
552
588
  /**
553
- Generates corresponding '.map' file.
554
- @default false
555
- */
589
+ Generates corresponding '.map' file.
590
+
591
+ @default false
592
+ */
556
593
  sourceMap?: boolean;
557
594
  /**
558
- Specifies the location where debugger should locate TypeScript files instead of source locations.
559
- */
595
+ Specifies the location where debugger should locate TypeScript files instead of source locations.
596
+ */
560
597
  sourceRoot?: string;
561
598
  /**
562
- Suppress excess property checks for object literals.
563
- @default false
564
- @deprecated This option will be removed in TypeScript 5.5.
565
- */
599
+ Suppress excess property checks for object literals.
600
+
601
+ @default false
602
+ @deprecated This option will be removed in TypeScript 5.5.
603
+ */
566
604
  suppressExcessPropertyErrors?: boolean;
567
605
  /**
568
- Suppress noImplicitAny errors for indexing objects lacking index signatures.
569
- @default false
570
- @deprecated This option will be removed in TypeScript 5.5.
571
- */
606
+ Suppress noImplicitAny errors for indexing objects lacking index signatures.
607
+
608
+ @default false
609
+ @deprecated This option will be removed in TypeScript 5.5.
610
+ */
572
611
  suppressImplicitAnyIndexErrors?: boolean;
573
612
  /**
574
- Do not emit declarations for code that has an `@internal` annotation.
575
- */
613
+ Do not emit declarations for code that has an `@internal` annotation.
614
+ */
576
615
  stripInternal?: boolean;
577
616
  /**
578
- Specify ECMAScript target version.
579
- @default 'es3'
580
- */
617
+ Specify ECMAScript target version.
618
+
619
+ @default 'es3'
620
+ */
581
621
  target?: CompilerOptions.Target;
582
622
  /**
583
- Default catch clause variables as `unknown` instead of `any`.
584
- @default false
585
- */
623
+ Default catch clause variables as `unknown` instead of `any`.
624
+
625
+ @default false
626
+ */
586
627
  useUnknownInCatchVariables?: boolean;
587
628
  /**
588
- Watch input files.
589
- @default false
590
- @deprecated Use watchOptions instead.
591
- */
629
+ Watch input files.
630
+
631
+ @default false
632
+ @deprecated Use watchOptions instead.
633
+ */
592
634
  watch?: boolean;
593
635
  /**
594
- Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
595
- @deprecated Use watchOptions.fallbackPolling instead.
596
- */
636
+ Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
637
+
638
+ @deprecated Use watchOptions.fallbackPolling instead.
639
+ */
597
640
  fallbackPolling?: CompilerOptions.FallbackPolling;
598
641
  /**
599
- Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
600
- @default 'useFsEvents'
601
- @deprecated Use watchOptions.watchDirectory instead.
602
- */
642
+ Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
643
+
644
+ @default 'useFsEvents'
645
+ @deprecated Use watchOptions.watchDirectory instead.
646
+ */
603
647
  watchDirectory?: CompilerOptions.WatchDirectory;
604
648
  /**
605
- Specify the strategy for watching individual files.
606
- @default 'useFsEvents'
607
- @deprecated Use watchOptions.watchFile instead.
608
- */
649
+ Specify the strategy for watching individual files.
650
+
651
+ @default 'useFsEvents'
652
+ @deprecated Use watchOptions.watchFile instead.
653
+ */
609
654
  watchFile?: CompilerOptions.WatchFile;
610
655
  /**
611
- Enables experimental support for ES7 decorators.
612
- @default false
613
- */
656
+ Enables experimental support for ES7 decorators.
657
+
658
+ @default false
659
+ */
614
660
  experimentalDecorators?: boolean;
615
661
  /**
616
- Emit design-type metadata for decorated declarations in source.
617
- @default false
618
- */
662
+ Emit design-type metadata for decorated declarations in source.
663
+
664
+ @default false
665
+ */
619
666
  emitDecoratorMetadata?: boolean;
620
667
  /**
621
- Do not report errors on unused labels.
622
- @default false
623
- */
668
+ Do not report errors on unused labels.
669
+
670
+ @default false
671
+ */
624
672
  allowUnusedLabels?: boolean;
625
673
  /**
626
- Report error when not all code paths in function return a value.
627
- @default false
628
- */
674
+ Report error when not all code paths in function return a value.
675
+
676
+ @default false
677
+ */
629
678
  noImplicitReturns?: boolean;
630
679
  /**
631
- Add `undefined` to a type when accessed using an index.
632
- @default false
633
- */
680
+ Add `undefined` to a type when accessed using an index.
681
+
682
+ @default false
683
+ */
634
684
  noUncheckedIndexedAccess?: boolean;
635
685
  /**
636
- Report error if failed to find a source file for a side effect import.
637
- @default false
638
- */
686
+ Report error if failed to find a source file for a side effect import.
687
+
688
+ @default false
689
+ */
639
690
  noUncheckedSideEffectImports?: boolean;
640
691
  /**
641
- Report errors for fallthrough cases in switch statement.
642
- @default false
643
- */
692
+ Report errors for fallthrough cases in switch statement.
693
+
694
+ @default false
695
+ */
644
696
  noFallthroughCasesInSwitch?: boolean;
645
697
  /**
646
- Ensure overriding members in derived classes are marked with an override modifier.
647
- @default false
648
- */
698
+ Ensure overriding members in derived classes are marked with an override modifier.
699
+
700
+ @default false
701
+ */
649
702
  noImplicitOverride?: boolean;
650
703
  /**
651
- Do not report errors on unreachable code.
652
- @default false
653
- */
704
+ Do not report errors on unreachable code.
705
+
706
+ @default false
707
+ */
654
708
  allowUnreachableCode?: boolean;
655
709
  /**
656
- Disallow inconsistently-cased references to the same file.
657
- @default true
658
- */
710
+ Disallow inconsistently-cased references to the same file.
711
+
712
+ @default true
713
+ */
659
714
  forceConsistentCasingInFileNames?: boolean;
660
715
  /**
661
- Emit a v8 CPU profile of the compiler run for debugging.
662
- @default 'profile.cpuprofile'
663
- */
716
+ Emit a v8 CPU profile of the compiler run for debugging.
717
+
718
+ @default 'profile.cpuprofile'
719
+ */
664
720
  generateCpuProfile?: string;
665
721
  /**
666
- Generates an event trace and a list of types.
667
- */
722
+ Generates an event trace and a list of types.
723
+ */
668
724
  generateTrace?: boolean;
669
725
  /**
670
- Base directory to resolve non-relative module names.
671
- */
726
+ Base directory to resolve non-relative module names.
727
+ */
672
728
  baseUrl?: string;
673
729
  /**
674
- Specify path mapping to be computed relative to baseUrl option.
675
- */
730
+ Specify path mapping to be computed relative to baseUrl option.
731
+ */
676
732
  paths?: Record<string, string[]>;
677
733
  /**
678
- List of TypeScript language server plugins to load.
679
- */
734
+ List of TypeScript language server plugins to load.
735
+ */
680
736
  plugins?: CompilerOptions.Plugin[];
681
737
  /**
682
- Specify list of root directories to be used when resolving modules.
683
- */
738
+ Specify list of root directories to be used when resolving modules.
739
+ */
684
740
  rootDirs?: string[];
685
741
  /**
686
- Specify list of directories for type definition files to be included.
687
- */
742
+ Specify list of directories for type definition files to be included.
743
+ */
688
744
  typeRoots?: string[];
689
745
  /**
690
- Type declaration files to be included in compilation.
691
- */
746
+ Type declaration files to be included in compilation.
747
+ */
692
748
  types?: string[];
693
749
  /**
694
- Enable tracing of the name resolution process.
695
- @default false
696
- */
750
+ Enable tracing of the name resolution process.
751
+
752
+ @default false
753
+ */
697
754
  traceResolution?: boolean;
698
755
  /**
699
- Allow javascript files to be compiled.
700
- @default false
701
- */
756
+ Allow javascript files to be compiled.
757
+
758
+ @default false
759
+ */
702
760
  allowJs?: boolean;
703
761
  /**
704
- Do not truncate error messages.
705
- @default false
706
- */
762
+ Do not truncate error messages.
763
+
764
+ @default false
765
+ */
707
766
  noErrorTruncation?: boolean;
708
767
  /**
709
- Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
710
- @default module === 'system' || esModuleInterop
711
- */
768
+ Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
769
+
770
+ @default module === 'system' || esModuleInterop
771
+ */
712
772
  allowSyntheticDefaultImports?: boolean;
713
773
  /**
714
- Do not emit `'use strict'` directives in module output.
715
- @default false
716
- @deprecated This option will be removed in TypeScript 5.5.
717
- */
774
+ Do not emit `'use strict'` directives in module output.
775
+
776
+ @default false
777
+ @deprecated This option will be removed in TypeScript 5.5.
778
+ */
718
779
  noImplicitUseStrict?: boolean;
719
780
  /**
720
- Enable to list all emitted files.
721
- @default false
722
- */
781
+ Enable to list all emitted files.
782
+
783
+ @default false
784
+ */
723
785
  listEmittedFiles?: boolean;
724
786
  /**
725
- Disable size limit for JavaScript project.
726
- @default false
727
- */
787
+ Disable size limit for JavaScript project.
788
+
789
+ @default false
790
+ */
728
791
  disableSizeLimit?: boolean;
729
792
  /**
730
- List of library files to be included in the compilation.
731
- */
793
+ List of library files to be included in the compilation.
794
+ */
732
795
  lib?: CompilerOptions.Lib[];
733
796
  /**
734
- Enable strict null checks.
735
- @default false
736
- */
797
+ Enable strict null checks.
798
+
799
+ @default false
800
+ */
737
801
  strictNullChecks?: boolean;
738
802
  /**
739
- The maximum dependency depth to search under `node_modules` and load JavaScript files. Only applicable with `--allowJs`.
740
- @default 0
741
- */
803
+ The maximum dependency depth to search under `node_modules` and load JavaScript files. Only applicable with `--allowJs`.
804
+
805
+ @default 0
806
+ */
742
807
  maxNodeModuleJsDepth?: number;
743
808
  /**
744
- Import emit helpers (e.g. `__extends`, `__rest`, etc..) from tslib.
745
- @default false
746
- */
809
+ Import emit helpers (e.g. `__extends`, `__rest`, etc..) from tslib.
810
+
811
+ @default false
812
+ */
747
813
  importHelpers?: boolean;
748
814
  /**
749
- Specify emit/checking behavior for imports that are only used for types.
750
- @default 'remove'
751
- @deprecated Use `verbatimModuleSyntax` instead.
752
- */
815
+ Specify emit/checking behavior for imports that are only used for types.
816
+
817
+ @default 'remove'
818
+ @deprecated Use `verbatimModuleSyntax` instead.
819
+ */
753
820
  importsNotUsedAsValues?: CompilerOptions.ImportsNotUsedAsValues;
754
821
  /**
755
- Parse in strict mode and emit `'use strict'` for each source file.
756
- @default false
757
- */
822
+ Parse in strict mode and emit `'use strict'` for each source file.
823
+
824
+ @default false
825
+ */
758
826
  alwaysStrict?: boolean;
759
827
  /**
760
- Enable all strict type checking options.
761
- @default false
762
- */
828
+ Enable all strict type checking options.
829
+
830
+ @default false
831
+ */
763
832
  strict?: boolean;
764
833
  /**
765
- Enable stricter checking of of the `bind`, `call`, and `apply` methods on functions.
766
- @default false
767
- */
834
+ Enable stricter checking of of the `bind`, `call`, and `apply` methods on functions.
835
+
836
+ @default false
837
+ */
768
838
  strictBindCallApply?: boolean;
769
839
  /**
770
- Provide full support for iterables in `for-of`, spread, and destructuring when targeting `ES5` or `ES3`.
771
- @default false
772
- */
840
+ Provide full support for iterables in `for-of`, spread, and destructuring when targeting `ES5` or `ES3`.
841
+
842
+ @default false
843
+ */
773
844
  downlevelIteration?: boolean;
774
845
  /**
775
- Report errors in `.js` files.
776
- @default false
777
- */
846
+ Report errors in `.js` files.
847
+
848
+ @default false
849
+ */
778
850
  checkJs?: boolean;
779
851
  /**
780
- Built-in iterators are instantiated with a `TReturn` type of undefined instead of `any`.
781
- @default false
782
- */
852
+ Built-in iterators are instantiated with a `TReturn` type of undefined instead of `any`.
853
+
854
+ @default false
855
+ */
783
856
  strictBuiltinIteratorReturn?: boolean;
784
857
  /**
785
- Disable bivariant parameter checking for function types.
786
- @default false
787
- */
858
+ Disable bivariant parameter checking for function types.
859
+
860
+ @default false
861
+ */
788
862
  strictFunctionTypes?: boolean;
789
863
  /**
790
- Ensure non-undefined class properties are initialized in the constructor.
791
- @default false
792
- */
864
+ Ensure non-undefined class properties are initialized in the constructor.
865
+
866
+ @default false
867
+ */
793
868
  strictPropertyInitialization?: boolean;
794
869
  /**
795
- Emit `__importStar` and `__importDefault` helpers for runtime Babel ecosystem compatibility and enable `--allowSyntheticDefaultImports` for typesystem compatibility.
796
- @default false
797
- */
870
+ Emit `__importStar` and `__importDefault` helpers for runtime Babel ecosystem compatibility and enable `--allowSyntheticDefaultImports` for typesystem compatibility.
871
+
872
+ @default false
873
+ */
798
874
  esModuleInterop?: boolean;
799
875
  /**
800
- Allow accessing UMD globals from modules.
801
- @default false
802
- */
876
+ Allow accessing UMD globals from modules.
877
+
878
+ @default false
879
+ */
803
880
  allowUmdGlobalAccess?: boolean;
804
881
  /**
805
- Resolve `keyof` to string valued property names only (no numbers or symbols).
806
- @default false
807
- @deprecated This option will be removed in TypeScript 5.5.
808
- */
882
+ Resolve `keyof` to string valued property names only (no numbers or symbols).
883
+
884
+ @default false
885
+ @deprecated This option will be removed in TypeScript 5.5.
886
+ */
809
887
  keyofStringsOnly?: boolean;
810
888
  /**
811
- Emit ECMAScript standard class fields.
812
- @default false
813
- */
889
+ Emit ECMAScript standard class fields.
890
+
891
+ @default false
892
+ */
814
893
  useDefineForClassFields?: boolean;
815
894
  /**
816
- Generates a sourcemap for each corresponding `.d.ts` file.
817
- @default false
818
- */
895
+ Generates a sourcemap for each corresponding `.d.ts` file.
896
+
897
+ @default false
898
+ */
819
899
  declarationMap?: boolean;
820
900
  /**
821
- Include modules imported with `.json` extension.
822
- @default false
823
- */
901
+ Include modules imported with `.json` extension.
902
+
903
+ @default false
904
+ */
824
905
  resolveJsonModule?: boolean;
825
906
  /**
826
- Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.
827
- @default false
828
- */
907
+ Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.
908
+
909
+ @default false
910
+ */
829
911
  assumeChangesOnlyAffectDirectDependencies?: boolean;
830
912
  /**
831
- Output more detailed compiler performance information after building.
832
- @default false
833
- */
913
+ Output more detailed compiler performance information after building.
914
+
915
+ @default false
916
+ */
834
917
  extendedDiagnostics?: boolean;
835
918
  /**
836
- Print names of files that are part of the compilation and then stop processing.
837
- @default false
838
- */
919
+ Print names of files that are part of the compilation and then stop processing.
920
+
921
+ @default false
922
+ */
839
923
  listFilesOnly?: boolean;
840
924
  /**
841
- Disable preferring source files instead of declaration files when referencing composite projects.
842
- @default true if composite, false otherwise
843
- */
925
+ Disable preferring source files instead of declaration files when referencing composite projects.
926
+
927
+ @default true if composite, false otherwise
928
+ */
844
929
  disableSourceOfProjectReferenceRedirect?: boolean;
845
930
  /**
846
- Opt a project out of multi-project reference checking when editing.
847
- @default false
848
- */
931
+ Opt a project out of multi-project reference checking when editing.
932
+
933
+ @default false
934
+ */
849
935
  disableSolutionSearching?: boolean;
850
936
  /**
851
- Print names of files which TypeScript sees as a part of your project and the reason they are part of the compilation.
852
- @default false
853
- */
937
+ Print names of files which TypeScript sees as a part of your project and the reason they are part of the compilation.
938
+
939
+ @default false
940
+ */
854
941
  explainFiles?: boolean;
855
942
  /**
856
- Preserve unused imported values in the JavaScript output that would otherwise be removed.
857
- @default true
858
- @deprecated Use `verbatimModuleSyntax` instead.
859
- */
943
+ Preserve unused imported values in the JavaScript output that would otherwise be removed.
944
+
945
+ @default true
946
+ @deprecated Use `verbatimModuleSyntax` instead.
947
+ */
860
948
  preserveValueImports?: boolean;
861
949
  /**
862
- List of file name suffixes to search when resolving a module.
863
- */
950
+ List of file name suffixes to search when resolving a module.
951
+ */
864
952
  moduleSuffixes?: string[];
865
953
  /**
866
- Control what method is used to detect module-format JS files.
867
- @default 'auto'
868
- */
954
+ Control what method is used to detect module-format JS files.
955
+
956
+ @default 'auto'
957
+ */
869
958
  moduleDetection?: CompilerOptions.ModuleDetection;
870
959
  /**
871
- Allows TypeScript files to import each other with a TypeScript-specific extension like .ts, .mts, or .tsx.
872
- @default false
873
- */
960
+ Allows TypeScript files to import each other with a TypeScript-specific extension like .ts, .mts, or .tsx.
961
+
962
+ @default false
963
+ */
874
964
  allowImportingTsExtensions?: boolean;
875
965
  /**
876
- Forces TypeScript to consult the exports field of package.json files if it ever reads from a package in node_modules.
877
- @default false
878
- */
966
+ Forces TypeScript to consult the exports field of package.json files if it ever reads from a package in node_modules.
967
+
968
+ @default false
969
+ */
879
970
  resolvePackageJsonExports?: boolean;
880
971
  /**
881
- Forces TypeScript to consult the imports field of package.json files when performing a lookup that starts with # from a file whose ancestor directory contains a package.json.
882
- @default false
883
- */
972
+ Forces TypeScript to consult the imports field of package.json files when performing a lookup that starts with # from a file whose ancestor directory contains a package.json.
973
+
974
+ @default false
975
+ */
884
976
  resolvePackageJsonImports?: boolean;
885
977
  /**
886
- Suppress errors for file formats that TypeScript does not understand.
887
- @default false
888
- */
978
+ Suppress errors for file formats that TypeScript does not understand.
979
+
980
+ @default false
981
+ */
889
982
  allowArbitraryExtensions?: boolean;
890
983
  /**
891
- List of additional conditions that should succeed when TypeScript resolves from package.json.
892
- */
984
+ List of additional conditions that should succeed when TypeScript resolves from package.json.
985
+ */
893
986
  customConditions?: string[];
894
987
  /**
895
- Anything that uses the type modifier is dropped entirely.
896
- @default false
897
- */
988
+ Anything that uses the type modifier is dropped entirely.
989
+
990
+ @default false
991
+ */
898
992
  verbatimModuleSyntax?: boolean;
899
993
  /**
900
- Suppress deprecation warnings
901
- */
994
+ Suppress deprecation warnings
995
+ */
902
996
  ignoreDeprecations?: CompilerOptions.IgnoreDeprecations;
903
997
  /**
904
- Do not allow runtime constructs that are not part of ECMAScript.
905
- @default false
906
- */
998
+ Do not allow runtime constructs that are not part of ECMAScript.
999
+
1000
+ @default false
1001
+ */
907
1002
  erasableSyntaxOnly?: boolean;
908
1003
  /**
909
- Enable lib replacement.
910
- @default true
911
- */
1004
+ Enable lib replacement.
1005
+
1006
+ @default true
1007
+ */
912
1008
  libReplacement?: boolean;
913
1009
  };
914
1010
  namespace WatchOptions {
@@ -918,71 +1014,74 @@ declare namespace TsConfigJson {
918
1014
  }
919
1015
  type WatchOptions = {
920
1016
  /**
921
- Specify the strategy for watching individual files.
922
- @default 'UseFsEvents'
923
- */
1017
+ Specify the strategy for watching individual files.
1018
+
1019
+ @default 'UseFsEvents'
1020
+ */
924
1021
  watchFile?: WatchOptions.WatchFileKind | Lowercase<WatchOptions.WatchFileKind>;
925
1022
  /**
926
- Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
927
- @default 'UseFsEvents'
928
- */
1023
+ Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
1024
+
1025
+ @default 'UseFsEvents'
1026
+ */
929
1027
  watchDirectory?: WatchOptions.WatchDirectoryKind | Lowercase<WatchOptions.WatchDirectoryKind>;
930
1028
  /**
931
- Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
932
- */
1029
+ Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
1030
+ */
933
1031
  fallbackPolling?: WatchOptions.PollingWatchKind | Lowercase<WatchOptions.PollingWatchKind>;
934
1032
  /**
935
- Enable synchronous updates on directory watchers for platforms that don't support recursive watching natively.
936
- */
1033
+ Enable synchronous updates on directory watchers for platforms that don't support recursive watching natively.
1034
+ */
937
1035
  synchronousWatchDirectory?: boolean;
938
1036
  /**
939
- Specifies a list of directories to exclude from watch.
940
- */
1037
+ Specifies a list of directories to exclude from watch.
1038
+ */
941
1039
  excludeDirectories?: string[];
942
1040
  /**
943
- Specifies a list of files to exclude from watch.
944
- */
1041
+ Specifies a list of files to exclude from watch.
1042
+ */
945
1043
  excludeFiles?: string[];
946
1044
  };
947
1045
  /**
948
- Auto type (.d.ts) acquisition options for this project.
949
- */
1046
+ Auto type (.d.ts) acquisition options for this project.
1047
+ */
950
1048
  type TypeAcquisition = {
951
1049
  /**
952
- Enable auto type acquisition.
953
- */
1050
+ Enable auto type acquisition.
1051
+ */
954
1052
  enable?: boolean;
955
1053
  /**
956
- Specifies a list of type declarations to be included in auto type acquisition. For example, `['jquery', 'lodash']`.
957
- */
1054
+ Specifies a list of type declarations to be included in auto type acquisition. For example, `['jquery', 'lodash']`.
1055
+ */
958
1056
  include?: string[];
959
1057
  /**
960
- Specifies a list of type declarations to be excluded from auto type acquisition. For example, `['jquery', 'lodash']`.
961
- */
1058
+ Specifies a list of type declarations to be excluded from auto type acquisition. For example, `['jquery', 'lodash']`.
1059
+ */
962
1060
  exclude?: string[];
963
1061
  /**
964
- Disable infering what types should be added based on filenames in a project.
965
- */
1062
+ Disable infering what types should be added based on filenames in a project.
1063
+ */
966
1064
  disableFilenameBasedTypeAcquisition?: boolean;
967
1065
  };
968
1066
  type References = {
969
1067
  /**
970
- A normalized path on disk.
971
- */
1068
+ A normalized path on disk.
1069
+ */
972
1070
  path: string;
973
1071
  /**
974
- The path as the user originally wrote it.
975
- */
1072
+ The path as the user originally wrote it.
1073
+ */
976
1074
  originalPath?: string;
977
1075
  /**
978
- True if the output of this reference should be prepended to the output of this project.
979
- Only valid for `--outFile` compilations.
980
- @deprecated This option will be removed in TypeScript 5.5.
981
- */
1076
+ True if the output of this reference should be prepended to the output of this project.
1077
+
1078
+ Only valid for `--outFile` compilations.
1079
+ @deprecated This option will be removed in TypeScript 5.5.
1080
+ */
982
1081
  prepend?: boolean;
983
1082
  /**
984
- True if it is intended that this reference form a circularity.
985
- */
1083
+ True if it is intended that this reference form a circularity.
1084
+ */
986
1085
  circular?: boolean;
987
1086
  };
988
1087
  }
@@ -993,46 +1092,48 @@ Type for [TypeScript's `tsconfig.json` file](https://www.typescriptlang.org/docs
993
1092
  */
994
1093
  type TsConfigJson = {
995
1094
  /**
996
- Instructs the TypeScript compiler how to compile `.ts` files.
997
- */
1095
+ Instructs the TypeScript compiler how to compile `.ts` files.
1096
+ */
998
1097
  compilerOptions?: TsConfigJson.CompilerOptions;
999
1098
  /**
1000
- Instructs the TypeScript compiler how to watch files.
1001
- */
1099
+ Instructs the TypeScript compiler how to watch files.
1100
+ */
1002
1101
  watchOptions?: TsConfigJson.WatchOptions;
1003
1102
  /**
1004
- Auto type (.d.ts) acquisition options for this project.
1005
- */
1103
+ Auto type (.d.ts) acquisition options for this project.
1104
+ */
1006
1105
  typeAcquisition?: TsConfigJson.TypeAcquisition;
1007
1106
  /**
1008
- Enable Compile-on-Save for this project.
1009
- */
1107
+ Enable Compile-on-Save for this project.
1108
+ */
1010
1109
  compileOnSave?: boolean;
1011
1110
  /**
1012
- Path to base configuration file to inherit from.
1013
- */
1111
+ Path to base configuration file to inherit from.
1112
+ */
1014
1113
  extends?: string | string[];
1015
1114
  /**
1016
- If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`. When a `files` property is specified, only those files and those specified by `include` are included.
1017
- */
1115
+ If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`. When a `files` property is specified, only those files and those specified by `include` are included.
1116
+ */
1018
1117
  files?: string[];
1019
1118
  /**
1020
- Specifies a list of files to be excluded from compilation. The `exclude` property only affects the files included via the `include` property and not the `files` property.
1021
- Glob patterns require TypeScript version 2.0 or later.
1022
- */
1119
+ Specifies a list of files to be excluded from compilation. The `exclude` property only affects the files included via the `include` property and not the `files` property.
1120
+
1121
+ Glob patterns require TypeScript version 2.0 or later.
1122
+ */
1023
1123
  exclude?: string[];
1024
1124
  /**
1025
- Specifies a list of glob patterns that match files to be included in compilation.
1026
- If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`.
1027
- */
1125
+ Specifies a list of glob patterns that match files to be included in compilation.
1126
+
1127
+ If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`.
1128
+ */
1028
1129
  include?: string[];
1029
1130
  /**
1030
- Referenced projects.
1031
- */
1131
+ Referenced projects.
1132
+ */
1032
1133
  references?: TsConfigJson.References[];
1033
1134
  };
1034
1135
  //#endregion
1035
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.9_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_9f43f644337e3a4030148b21b794fdcf/node_modules/rolldown-plugin-dts/dist/index.d.mts
1136
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/index.d.mts
1036
1137
  //#region src/options.d.ts
1037
1138
  interface Logger$1 {
1038
1139
  info: (...args: any[]) => void;
@@ -1056,8 +1157,7 @@ interface GeneralOptions {
1056
1157
  * `isolatedDeclarations` is enabled in `compilerOptions`.
1057
1158
  * - `'tsgo'` if TypeScript 7.0 (or `@typescript/native-preview`) is installed,
1058
1159
  * or {@link Options.tsgo tsgo} options are provided.
1059
- * - `'tsc'` otherwise, and always when {@link TscOptions.vue vue} or
1060
- * {@link TscOptions.tsMacro tsMacro} is enabled.
1160
+ * - `'tsc'` otherwise, and always when {@link TscOptions.vue vue} is enabled.
1061
1161
  *
1062
1162
  * @default 'tsc'
1063
1163
  */
@@ -1190,10 +1290,6 @@ interface TscOptions {
1190
1290
  * If `true`, the plugin will generate `.d.ts` files using `vue-tsc`.
1191
1291
  */
1192
1292
  vue?: boolean;
1193
- /**
1194
- * If `true`, the plugin will generate `.d.ts` files using `@ts-macro/tsc`.
1195
- */
1196
- tsMacro?: boolean;
1197
1293
  /**
1198
1294
  * If `true`, the plugin will launch a separate process for `tsc` or `vue-tsc`.
1199
1295
  * This enables processing multiple projects in parallel.
@@ -1257,6 +1353,18 @@ interface Options$1 extends GeneralOptions, TscOptions {
1257
1353
  * ```
1258
1354
  */
1259
1355
  tsgo?: boolean | TsgoOptions;
1356
+ /**
1357
+ * Registers custom {@link https://volarjs.dev Volar} language plugins,
1358
+ * allowing the `tsc` generator to process non-standard file types (such as
1359
+ * `.vue`) when generating `.d.ts` files. Multiple plugins can be provided and
1360
+ * are applied together.
1361
+ *
1362
+ * Enabling this option forces the `tsc` generator and is not supported with
1363
+ * TypeScript 7.0.
1364
+ *
1365
+ * @experimental The API may change in future versions.
1366
+ */
1367
+ volarPlugins?: VolarPlugin[];
1260
1368
  }
1261
1369
  interface TsgoOptions {
1262
1370
  /**
@@ -1265,7 +1373,13 @@ interface TsgoOptions {
1265
1373
  path?: string;
1266
1374
  }
1267
1375
  //#endregion
1268
- //#region ../../node_modules/.pnpm/tsdown@0.22.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.7_@tsdown+exe@0.22.7_@type_53c241a653f2227a5df8ba2949047afe/node_modules/tsdown/dist/types-C2uYWTfo.d.mts
1376
+ //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/types-D8DLoC_H.d.mts
1377
+ //#region src/utils/types.d.ts
1378
+ type Overwrite<T, U> = Omit<T, keyof U> & U;
1379
+ type Awaitable<T> = T | Promise<T>;
1380
+ type MarkPartial<T, K extends keyof T> = Omit<Required<T>, K> & Partial<Pick<T, K>>;
1381
+ type Arrayable<T> = T | T[];
1382
+ //#endregion
1269
1383
  //#region src/features/copy.d.ts
1270
1384
  interface CopyEntry {
1271
1385
  /**
@@ -1294,7 +1408,8 @@ interface CopyEntry {
1294
1408
  rename?: string | ((name: string, extension: string, fullPath: string) => string);
1295
1409
  }
1296
1410
  type CopyOptions = Arrayable<string | CopyEntry>;
1297
- type CopyOptionsFn = (options: ResolvedConfig) => Awaitable<CopyOptions>; //#endregion
1411
+ type CopyOptionsFn = (options: ResolvedConfig) => Awaitable<CopyOptions>;
1412
+ //#endregion
1298
1413
  //#region src/utils/chunks.d.ts
1299
1414
  type RolldownChunk = (OutputChunk | OutputAsset) & {
1300
1415
  outDir: string;
@@ -1304,7 +1419,30 @@ interface TsdownBundle extends AsyncDisposable {
1304
1419
  chunks: RolldownChunk[];
1305
1420
  config: ResolvedConfig;
1306
1421
  inlinedDeps: Map<string, Set<string>>;
1307
- } //#endregion
1422
+ }
1423
+ //#endregion
1424
+ //#region src/utils/logger.d.ts
1425
+ type LogType = "error" | "warn" | "info";
1426
+ type LogLevel = LogType | "silent";
1427
+ interface LoggerOptions {
1428
+ allowClearScreen?: boolean;
1429
+ customLogger?: Logger;
1430
+ console?: Console;
1431
+ failOnWarn?: boolean;
1432
+ suppressWarnings?: Arrayable<RegExp | string> | ((msg: string) => boolean);
1433
+ }
1434
+ interface Logger {
1435
+ level: LogLevel;
1436
+ options?: LoggerOptions;
1437
+ info: (...args: any[]) => void;
1438
+ warn: (...args: any[]) => void;
1439
+ warnOnce: (...args: any[]) => void;
1440
+ error: (...args: any[]) => void;
1441
+ success: (...args: any[]) => void;
1442
+ clearScreen: (type: LogType) => void;
1443
+ }
1444
+ declare const globalLogger: Logger;
1445
+ //#endregion
1308
1446
  //#region src/features/deps.d.ts
1309
1447
  type NoExternalFn = (id: string, importer: string | undefined) => boolean | null | undefined | void;
1310
1448
  interface DepsConfig {
@@ -1312,8 +1450,17 @@ interface DepsConfig {
1312
1450
  * Mark dependencies as external (not bundled).
1313
1451
  * Accepts strings, regular expressions, or Rolldown's
1314
1452
  * {@linkcode ExternalOption}.
1453
+ *
1454
+ * Set to `true` to externalize **all** dependencies: every import that
1455
+ * follows npm package naming conventions is marked as external as written,
1456
+ * without resolving it. Other non-relative imports (e.g. `#` subpath
1457
+ * imports and path aliases like `~/`) are resolved, and kept external
1458
+ * only if they resolve into `node_modules`; otherwise the resolved local
1459
+ * file is bundled.
1460
+ *
1461
+ * Use {@linkcode alwaysBundle} to opt specific imports back into the bundle.
1315
1462
  */
1316
- neverBundle?: ExternalOption;
1463
+ neverBundle?: true | ExternalOption;
1317
1464
  /**
1318
1465
  * Force dependencies to be bundled, even if they are in `dependencies`, `peerDependencies`, or `optionalDependencies`.
1319
1466
  */
@@ -1328,6 +1475,17 @@ interface DepsConfig {
1328
1475
  * Note: Be sure to include all required sub-dependencies as well.
1329
1476
  */
1330
1477
  onlyBundle?: Arrayable<string | RegExp> | false;
1478
+ /**
1479
+ * Whitelist of packages that the emitted output is allowed to import.
1480
+ * Matched against the package name, so subpath imports (e.g. `cac/deno`)
1481
+ * are covered by listing the package (e.g. `cac`).
1482
+ * Node built-in modules are always allowed to be imported
1483
+ * when `platform` is `node`.
1484
+ *
1485
+ * Note: ES imports and dynamic import expressions are checked. CJS
1486
+ * `require` calls are not detected.
1487
+ */
1488
+ onlyImport?: Arrayable<string | RegExp>;
1331
1489
  /**
1332
1490
  * @deprecated Use {@linkcode onlyBundle} instead.
1333
1491
  */
@@ -1338,18 +1496,25 @@ interface DepsConfig {
1338
1496
  * **Note:** This option cannot be used together with {@linkcode alwaysBundle}.
1339
1497
  *
1340
1498
  * @default false
1499
+ * @deprecated Use {@linkcode neverBundle | neverBundle: true} instead.
1341
1500
  */
1342
1501
  skipNodeModulesBundle?: boolean;
1502
+ /**
1503
+ * Resolve dependency subpath imports to their actual package-relative paths
1504
+ * when externalizing packages without an `exports` field.
1505
+ *
1506
+ * @default true
1507
+ */
1508
+ resolveDepSubpath?: boolean;
1343
1509
  /**
1344
1510
  * Override dependency bundling options for declaration file generation.
1345
1511
  */
1346
1512
  dts?: Pick<DepsConfig, "alwaysBundle" | "neverBundle">;
1347
1513
  }
1348
- interface ResolvedDepsConfig {
1349
- neverBundle?: ExternalOption;
1514
+ interface ResolvedDepsConfig extends Pick<DepsConfig, "neverBundle" | "skipNodeModulesBundle" | "resolveDepSubpath"> {
1350
1515
  alwaysBundle?: NoExternalFn;
1351
1516
  onlyBundle?: Array<string | RegExp> | false;
1352
- skipNodeModulesBundle: boolean;
1517
+ onlyImport?: Array<string | RegExp>;
1353
1518
  /**
1354
1519
  * Override dependency bundling options for declaration file generation.
1355
1520
  */
@@ -1370,8 +1535,7 @@ interface DevtoolsOptions extends NonNullable<InputOptions["devtools"]> {
1370
1535
  * @default true
1371
1536
  */
1372
1537
  clean?: boolean;
1373
- } //#endregion
1374
- //#region src/features/exe.d.ts
1538
+ }
1375
1539
  interface ExeOptions extends ExeExtensionOptions {
1376
1540
  seaConfig?: Omit<SeaConfig, "main" | "output" | "mainFormat">;
1377
1541
  /**
@@ -1419,7 +1583,8 @@ interface SeaConfig {
1419
1583
  */
1420
1584
  execArgvExtension?: "none" | "env" | "cli";
1421
1585
  assets?: Record<string, string>;
1422
- } //#endregion
1586
+ }
1587
+ //#endregion
1423
1588
  //#region src/features/hooks.d.ts
1424
1589
  interface BuildContext {
1425
1590
  options: ResolvedConfig;
@@ -1450,7 +1615,8 @@ interface TsdownHooks {
1450
1615
  "build:done": (ctx: BuildContext & {
1451
1616
  chunks: RolldownChunk[];
1452
1617
  }) => void | Promise<void>;
1453
- } //#endregion
1618
+ }
1619
+ //#endregion
1454
1620
  //#region node_modules/.pnpm/pkg-types@2.3.1/node_modules/pkg-types/dist/index.d.mts
1455
1621
  //#endregion
1456
1622
  //#region src/packagejson/types.d.ts
@@ -1732,7 +1898,7 @@ type PackageJsonNpmLifeCycleScripts = "dependencies" | "prepublishOnly" | Packag
1732
1898
  type PackageJsonPnpmLifeCycleScripts = "pnpm:devPreinstall";
1733
1899
  type PackageJsonCommonScripts = "build" | "coverage" | "deploy" | "dev" | "format" | "lint" | "preview" | "release" | "typecheck" | "watch";
1734
1900
  type PackageJsonScriptName = PackageJsonCommonScripts | PackageJsonNpmLifeCycleScripts | PackageJsonPnpmLifeCycleScripts | (string & {});
1735
- type PackageJsonScripts = { [P in PackageJsonScriptName]?: string };
1901
+ type PackageJsonScripts = { [P in PackageJsonScriptName]?: string; };
1736
1902
  /**
1737
1903
  * A “person” is an object with a “name” field and optionally “url” and “email”. Or you can shorten that all into a single string, and npm will parse it for you.
1738
1904
  */
@@ -1746,13 +1912,15 @@ type PackageJsonFunding = string | {
1746
1912
  type?: string;
1747
1913
  };
1748
1914
  type PackageJsonExportKey = "." | "import" | "require" | "types" | "node" | "browser" | "default" | (string & {});
1749
- type PackageJsonExportsObject = { [P in PackageJsonExportKey]?: string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject> };
1750
- type PackageJsonExports = string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject>; //#endregion
1915
+ type PackageJsonExportsObject = { [P in PackageJsonExportKey]?: string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject>; };
1916
+ type PackageJsonExports = string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject>;
1917
+ //#endregion
1751
1918
  //#region src/utils/package.d.ts
1752
1919
  interface PackageJsonWithPath extends PackageJson {
1753
1920
  packageJsonPath: string;
1754
1921
  }
1755
- type PackageType = "module" | "commonjs" | undefined; //#endregion
1922
+ type PackageType = "module" | "commonjs" | undefined;
1923
+ //#endregion
1756
1924
  //#region src/features/output.d.ts
1757
1925
  interface OutExtensionContext {
1758
1926
  options: InputOptions;
@@ -1776,7 +1944,8 @@ type ChunkAddonFunction = (ctx: {
1776
1944
  format: Format;
1777
1945
  fileName: string;
1778
1946
  }) => ChunkAddonObject | string | undefined;
1779
- type ChunkAddon = ChunkAddonObject | ChunkAddonFunction | string; //#endregion
1947
+ type ChunkAddon = ChunkAddonObject | ChunkAddonFunction | string;
1948
+ //#endregion
1780
1949
  //#region src/features/pkg/attw.d.ts
1781
1950
  interface AttwOptions extends CheckPackageOptions {
1782
1951
  module?: typeof import("@arethetypeswrong/core");
@@ -1829,7 +1998,8 @@ interface AttwOptions extends CheckPackageOptions {
1829
1998
  * @uniqueItems
1830
1999
  */
1831
2000
  ignoreRules?: ("no-resolution" | "untyped-resolution" | "false-cjs" | "false-esm" | "cjs-resolves-to-esm" | "fallback-condition" | "cjs-only-exports-default" | "named-exports" | "false-export-default" | "missing-export-equals" | "unexpected-module-syntax" | "internal-resolution-error" | (string & {}))[];
1832
- } //#endregion
2001
+ }
2002
+ //#endregion
1833
2003
  //#region src/features/pkg/exports.d.ts
1834
2004
  interface ExportsOptions {
1835
2005
  /**
@@ -2001,11 +2171,13 @@ interface ExportsOptions {
2001
2171
  * @see {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | npm documentation for the `bin` field}
2002
2172
  */
2003
2173
  bin?: boolean | string | Record<string, string>;
2004
- } //#endregion
2174
+ }
2175
+ //#endregion
2005
2176
  //#region src/features/pkg/publint.d.ts
2006
2177
  interface PublintOptions extends Omit<Options, "pack" | "pkgDir"> {
2007
2178
  module?: [typeof import("publint"), typeof import("publint/utils")];
2008
- } //#endregion
2179
+ }
2180
+ //#endregion
2009
2181
  //#region src/features/plugin.d.ts
2010
2182
  /**
2011
2183
  * A tsdown-aware plugin. Extends Rolldown's {@linkcode Plugin} with
@@ -2057,7 +2229,8 @@ interface TsdownPlugin<A = any> extends Plugin<A> {
2057
2229
  */
2058
2230
  type TsdownPluginOption<A = any> = Awaitable<TsdownPlugin<A> | RolldownPlugin<A> | {
2059
2231
  name: string;
2060
- } | undefined | null | void | false | TsdownPluginOption<A>[]>; //#endregion
2232
+ } | undefined | null | void | false | TsdownPluginOption<A>[]>;
2233
+ //#endregion
2061
2234
  //#region src/features/report.d.ts
2062
2235
  interface ReportOptions {
2063
2236
  /**
@@ -2175,23 +2348,6 @@ interface UserConfig {
2175
2348
  * Dependency handling options.
2176
2349
  */
2177
2350
  deps?: DepsConfig;
2178
- /**
2179
- * @deprecated Use {@linkcode DepsConfig.neverBundle | deps.neverBundle} instead.
2180
- */
2181
- external?: ExternalOption;
2182
- /**
2183
- * @deprecated Use {@linkcode DepsConfig.alwaysBundle | deps.alwaysBundle} instead.
2184
- */
2185
- noExternal?: Arrayable<string | RegExp> | NoExternalFn;
2186
- /**
2187
- * @deprecated Use {@linkcode DepsConfig.onlyBundle | deps.onlyBundle} instead.
2188
- */
2189
- inlineOnly?: Arrayable<string | RegExp> | false;
2190
- /**
2191
- * @deprecated Use {@linkcode DepsConfig.skipNodeModulesBundle | deps.skipNodeModulesBundle} instead.
2192
- * @default false
2193
- */
2194
- skipNodeModulesBundle?: boolean;
2195
2351
  alias?: Record<string, string>;
2196
2352
  /**
2197
2353
  * @default true
@@ -2270,7 +2426,7 @@ interface UserConfig {
2270
2426
  shims?: boolean;
2271
2427
  /**
2272
2428
  * Configure tree shaking options.
2273
- * @see {@link https://rolldown.rs/options/treeshake} for more details.
2429
+ * @see {@link https://rolldown.rs/reference/InputOptions.treeshake} for more details.
2274
2430
  * @default true
2275
2431
  */
2276
2432
  treeshake?: boolean | TreeshakingOptions;
@@ -2284,25 +2440,6 @@ interface UserConfig {
2284
2440
  * ```
2285
2441
  */
2286
2442
  loader?: ModuleTypes;
2287
- /**
2288
- * Remove the `node:` prefix from built-in Node.js module imports.
2289
- * When enabled, rewrites import sources like `node:fs` to `fs`.
2290
- *
2291
- * @default false
2292
- * @deprecated Use {@linkcode nodeProtocol | nodeProtocol: 'strip'} instead.
2293
- *
2294
- * @example
2295
- * <caption>`removeNodeProtocol: true` — remove the `node:` prefix</caption>
2296
- *
2297
- * ```ts
2298
- * // Input
2299
- * import 'node:fs'
2300
- *
2301
- * // Output
2302
- * import 'fs'
2303
- * ```
2304
- */
2305
- removeNodeProtocol?: boolean;
2306
2443
  /**
2307
2444
  * Control whether built-in Node.js module imports use the `node:` protocol.
2308
2445
  *
@@ -2425,11 +2562,6 @@ interface UserConfig {
2425
2562
  * @see https://www.typescriptlang.org/tsconfig/#rootDir
2426
2563
  */
2427
2564
  root?: string;
2428
- /**
2429
- * @deprecated Use {@linkcode unbundle} instead.
2430
- * @default true
2431
- */
2432
- bundle?: boolean;
2433
2565
  /**
2434
2566
  * Use a fixed extension for output files.
2435
2567
  * The extension will always be `.cjs` or `.mjs`.
@@ -2446,10 +2578,6 @@ interface UserConfig {
2446
2578
  * {@linkcode fixedExtension} will be overridden by this option.
2447
2579
  */
2448
2580
  outExtensions?: OutExtensionFactory;
2449
- /**
2450
- * @deprecated Use {@linkcode outExtensions} instead.
2451
- */
2452
- outExtension?: OutExtensionFactory;
2453
2581
  /**
2454
2582
  * If enabled, appends hash to chunk filenames.
2455
2583
  * @default true
@@ -2582,15 +2710,6 @@ interface UserConfig {
2582
2710
  * Requires `@tsdown/css` to be installed.
2583
2711
  */
2584
2712
  css?: CssOptions;
2585
- /**
2586
- * @deprecated Use {@linkcode CssOptions.inject | css.inject} instead.
2587
- */
2588
- injectStyle?: boolean;
2589
- /**
2590
- * @alias copy
2591
- * @deprecated Alias for {@linkcode copy}, will be removed in the future.
2592
- */
2593
- publicDir?: CopyOptions | CopyOptionsFn;
2594
2713
  /**
2595
2714
  * Copy files to another directory.
2596
2715
  * @example
@@ -2620,6 +2739,60 @@ interface UserConfig {
2620
2739
  * This allows you to build multiple packages in a monorepo.
2621
2740
  */
2622
2741
  workspace?: Workspace | Arrayable<string> | true;
2742
+ /**
2743
+ * @deprecated Use {@linkcode DepsConfig.neverBundle | deps.neverBundle} instead.
2744
+ */
2745
+ external?: ExternalOption;
2746
+ /**
2747
+ * @deprecated Use {@linkcode DepsConfig.alwaysBundle | deps.alwaysBundle} instead.
2748
+ */
2749
+ noExternal?: Arrayable<string | RegExp> | NoExternalFn;
2750
+ /**
2751
+ * @deprecated Use {@linkcode DepsConfig.onlyBundle | deps.onlyBundle} instead.
2752
+ */
2753
+ inlineOnly?: Arrayable<string | RegExp> | false;
2754
+ /**
2755
+ * @deprecated Use {@linkcode DepsConfig.neverBundle | deps.neverBundle: true} instead.
2756
+ * @default false
2757
+ */
2758
+ skipNodeModulesBundle?: boolean;
2759
+ /**
2760
+ * Remove the `node:` prefix from built-in Node.js module imports.
2761
+ * When enabled, rewrites import sources like `node:fs` to `fs`.
2762
+ *
2763
+ * @default false
2764
+ * @deprecated Use {@linkcode nodeProtocol | nodeProtocol: 'strip'} instead.
2765
+ *
2766
+ * @example
2767
+ * <caption>`removeNodeProtocol: true` — remove the `node:` prefix</caption>
2768
+ *
2769
+ * ```ts
2770
+ * // Input
2771
+ * import 'node:fs'
2772
+ *
2773
+ * // Output
2774
+ * import 'fs'
2775
+ * ```
2776
+ */
2777
+ removeNodeProtocol?: boolean;
2778
+ /**
2779
+ * @deprecated Use {@linkcode unbundle} instead.
2780
+ * @default true
2781
+ */
2782
+ bundle?: boolean;
2783
+ /**
2784
+ * @deprecated Use {@linkcode outExtensions} instead.
2785
+ */
2786
+ outExtension?: OutExtensionFactory;
2787
+ /**
2788
+ * @deprecated Use {@linkcode CssOptions.inject | css.inject} instead.
2789
+ */
2790
+ injectStyle?: boolean;
2791
+ /**
2792
+ * @alias copy
2793
+ * @deprecated Alias for {@linkcode copy}, will be removed in the future.
2794
+ */
2795
+ publicDir?: CopyOptions | CopyOptionsFn;
2623
2796
  }
2624
2797
  interface InlineConfig extends UserConfig {
2625
2798
  /**
@@ -2673,9 +2846,9 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
2673
2846
  attw: false | AttwOptions;
2674
2847
  unused: false | UnusedOptions;
2675
2848
  exe: false | ExeOptions;
2676
- }>; //#endregion
2849
+ }>;
2677
2850
  //#endregion
2678
- //#region ../../node_modules/.pnpm/tsdown@0.22.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.7_@tsdown+exe@0.22.7_@type_53c241a653f2227a5df8ba2949047afe/node_modules/tsdown/dist/config-Cna24Xzf.d.mts
2851
+ //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/config-3sAcYqvi.d.mts
2679
2852
  //#region src/config/options.d.ts
2680
2853
  /**
2681
2854
  * Resolve user config into resolved configs
@@ -2685,7 +2858,8 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
2685
2858
  */
2686
2859
  declare function resolveUserConfig(userConfig: UserConfig, inlineConfig: InlineConfig, configDeps: Set<string>): Promise<ResolvedConfig[]>;
2687
2860
  declare function mergeConfig(defaults: UserConfig, ...overrides: UserConfig[]): UserConfig;
2688
- declare function mergeConfig(defaults: InlineConfig, ...overrides: InlineConfig[]): InlineConfig; //#endregion
2861
+ declare function mergeConfig(defaults: InlineConfig, ...overrides: InlineConfig[]): InlineConfig;
2862
+ //#endregion
2689
2863
  //#region src/config.d.ts
2690
2864
  /**
2691
2865
  * Defines the configuration for tsdown.
@@ -2693,9 +2867,9 @@ declare function mergeConfig(defaults: InlineConfig, ...overrides: InlineConfig[
2693
2867
  declare function defineConfig(options: UserConfig): UserConfig;
2694
2868
  declare function defineConfig(options: UserConfig[]): UserConfig[];
2695
2869
  declare function defineConfig(options: UserConfigFn): UserConfigFn;
2696
- declare function defineConfig(options: UserConfigExport): UserConfigExport; //#endregion
2870
+ declare function defineConfig(options: UserConfigExport): UserConfigExport;
2697
2871
  //#endregion
2698
- //#region ../../node_modules/.pnpm/tsdown@0.22.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.7_@tsdown+exe@0.22.7_@type_53c241a653f2227a5df8ba2949047afe/node_modules/tsdown/dist/index.d.mts
2872
+ //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/index.d.mts
2699
2873
  //#region src/build.d.ts
2700
2874
  /**
2701
2875
  * Build with tsdown.
@@ -2707,10 +2881,12 @@ declare function build$1(inlineConfig?: InlineConfig): Promise<TsdownBundle[]>;
2707
2881
  * **Internal API, not for public use**
2708
2882
  * @private
2709
2883
  */
2710
- declare function buildWithConfigs(configs: ResolvedConfig[], configDeps: Set<string>, _restart: () => void): Promise<TsdownBundle[]>; //#endregion
2884
+ declare function buildWithConfigs(configs: ResolvedConfig[], configDeps: Set<string>, _restart: () => void): Promise<TsdownBundle[]>;
2885
+ //#endregion
2711
2886
  //#region src/features/debug.d.ts
2712
- declare function enableDebug(debug?: boolean | Arrayable<string>): void; //#endregion
2887
+ declare function enableDebug(debug?: boolean | Arrayable<string>): void;
2888
+ //#endregion
2713
2889
  //#region src/index.d.ts
2714
- declare const version: string; //#endregion
2890
+ declare const version: string;
2715
2891
  //#endregion
2716
2892
  export { type AttwOptions, type BuildContext, CIOption, type ChunkAddon, type ChunkAddonFunction, type ChunkAddonObject, type CopyEntry, type CopyOptions, type CopyOptionsFn, type DepsConfig, type DevtoolsOptions, DtsOptions, type ExeOptions, type ExportsOptions, Format, InlineConfig, type Logger, type NoExternalFn, NormalizedFormat, type OutExtensionContext, type OutExtensionFactory, type OutExtensionObject, type PackageJsonWithPath, type PackageType, type PublintOptions, type ReportOptions, ResolvedConfig, type ResolvedDepsConfig, Rolldown, type RolldownChunk, type RolldownContext, type SeaConfig, Sourcemap, type TreeshakingOptions, type TsdownBundle, type TsdownHooks, TsdownInputOption, type TsdownPlugin, type TsdownPluginOption, type UnusedOptions, UserConfig, UserConfigExport, UserConfigFn, WithEnabled, Workspace, build$1 as build, buildWithConfigs, defineConfig, enableDebug, globalLogger, mergeConfig, resolveUserConfig, version };