Skip to content

Commit 74fc5a5

Browse files
committed
Update only changed type baseline
This test is written in an invalid configuration that issues a program error: `--module esnext --moduleResolution nodenext`. The baseline shows that previously, the type of a default import was influenced by the `moduleResolution` setting. With the current change, the `moduleResolution` setting affects only module resolution, and the types of imports in `--module esnext` are now consistent across all `moduleResolution` settings. A future commit will revert this baseline change by *intentionally* using `impliedNodeFormat` information in `--module esnext`, but the current change gets us to a more rational starting point for making those substantive changes. Since `--moduleResolution nodenext` has been an error when not paired with `--module nodenext` for many versions now, the fact that this baseline is changing is not particularly meaningful for users.
1 parent c358658 commit 74fc5a5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/baselines/reference/moduleExportNonStructured.types

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
=== index.mts ===
44
import * as exportAny from "./exportAny.cjs";
5-
>exportAny : { default: any; }
5+
>exportAny : any
66

77
import * as exportUnknown from "./exportUnknown.cjs";
8-
>exportUnknown : { default: unknown; }
8+
>exportUnknown : unknown
99

1010
import * as exportSymbol from "./exportSymbol.cjs";
11-
>exportSymbol : { default: symbol; }
11+
>exportSymbol : symbol
1212

1313
import type * as exportAnyType from "./exportAny.cjs";
14-
>exportAnyType : { default: any; }
14+
>exportAnyType : any
1515

1616
import type * as exportUnknownType from "./exportUnknown.cjs";
17-
>exportUnknownType : { default: unknown; }
17+
>exportUnknownType : unknown
1818

1919
import type * as exportSymbolType from "./exportSymbol.cjs";
20-
>exportSymbolType : { default: symbol; }
20+
>exportSymbolType : symbol
2121

2222
=== exportAny.d.cts ===
2323
declare const __: any;

0 commit comments

Comments
 (0)