Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,10 @@ let version = myConfigA.version;
import * as myConfigB from "./myConfig.json" with { type: "json" };

// ❌ This is not:
let version = myConfig.version;
let version = myConfigB.version;

// ✅ This is okay:
let version = myConfig.default.version;
let version = myConfigB.default.version;
```

[See here](https://github.com/microsoft/TypeScript/pull/60019) for more information on this change.
Expand Down Expand Up @@ -493,3 +493,4 @@ const p2 = p.catch(() => null);
```

[See this change for more details](https://github.com/microsoft/TypeScript/pull/59661).