Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ export interface BuildOptions {
* Enable experimental support for legacy experimental decorators.
*
* See more: https://www.typescriptlang.org/tsconfig#experimentalDecorators
* @remarks This is true by default for backwards compatibility. To use the new decorators, set this to `false`.
* @default true
* @remarks This is false by default. To use the ts decorators, set this to `true`.
* @default false
*/
experimentalDecorators?: boolean;
useUnknownInCatchVariables?: boolean;
Expand Down Expand Up @@ -292,7 +292,7 @@ export async function build(options: BuildOptions): Promise<void> {
isolatedModules: true,
useDefineForClassFields: true,
experimentalDecorators: options.compilerOptions?.experimentalDecorators ??
true,
false,
emitDecoratorMetadata: options.compilerOptions?.emitDecoratorMetadata ??
false,
jsx: ts.JsxEmit.React,
Expand Down