Skip to content

Commit 15d3639

Browse files
committed
fix
1 parent b528127 commit 15d3639

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

jscomp/gentype/ModuleExtension.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ let outputFileSuffix ~(config : Config.t) =
2424
let generatedModuleExtension ~(config : Config.t) =
2525
match config.moduleResolution with
2626
| Node -> generatedFilesExtension ~config
27-
| Node16 -> inputFileSuffix ~config
28-
| Bundler -> outputFileSuffix ~config
27+
| Node16 -> outputFileSuffix ~config
28+
| Bundler -> inputFileSuffix ~config

jscomp/gentype_tests/typescript-res-bundler/src/Bar.gen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const BarBS: any = BarBS__Es6Import;
88

99
import type {Json_t as Js_Json_t} from '../src/shims/Js.shim.ts';
1010

11-
import type {t as Foo_t} from './Foo.gen.js';
11+
import type {t as Foo_t} from './Foo.gen.tsx';
1212

1313
export const makeFoo: (_1:{ readonly bar: number }) => Foo_t = BarBS.makeFoo;
1414

jscomp/gentype_tests/typescript-res-node16/src/Bar.gen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const BarBS: any = BarBS__Es6Import;
88

99
import type {Json_t as Js_Json_t} from '../src/shims/Js.shim.js';
1010

11-
import type {t as Foo_t} from './Foo.gen.tsx';
11+
import type {t as Foo_t} from './Foo.gen.js';
1212

1313
export const makeFoo: (_1:{ readonly bar: number }) => Foo_t = BarBS.makeFoo;
1414

0 commit comments

Comments
 (0)