Skip to content

Commit 4cbe33c

Browse files
authoredOct 20, 2024··
fix(wasm-typescript): Fix option types of functions (#9662)
**Description:** The types for the wasm-typescript functions are incorrect due to a typo. Without this fix: ``` Property 'TransformConfig' is missing in type '{ module: true; filename: any; sourceMap: • true; mode: "transform"; transform: { verbatimModuleSyntax: boolean; nativeClassProperties: boolean; importNotUsedAsValues: string; importExportAssignConfig: string; }; }' but required in type 'Options'. [2345] ```
1 parent 32116a0 commit 4cbe33c

File tree

1 file changed

+1
-1
lines changed
  • crates/swc_fast_ts_strip/src

1 file changed

+1
-1
lines changed
 

‎crates/swc_fast_ts_strip/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ interface Options {
6464
module?: boolean;
6565
filename?: string;
6666
mode?: Mode;
67-
transform?; TransformConfig;
67+
transform?: TransformConfig;
6868
sourceMap?: boolean;
6969
}
7070

0 commit comments

Comments
 (0)
Please sign in to comment.