Skip to content

Commit

Permalink
fix: correct option types of wasm-typescript functions
Browse files Browse the repository at this point in the history
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]  
```
  • Loading branch information
bennypowers authored Oct 20, 2024
1 parent 32116a0 commit a59e354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_fast_ts_strip/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ interface Options {
module?: boolean;
filename?: string;
mode?: Mode;
transform?; TransformConfig;
transform?: TransformConfig;
sourceMap?: boolean;
}
Expand Down

0 comments on commit a59e354

Please sign in to comment.