diff --git a/packages/documentation/copy/en/release-notes/TypeScript 5.7.md b/packages/documentation/copy/en/release-notes/TypeScript 5.7.md index 95219e2afa26..c232e4c903e1 100644 --- a/packages/documentation/copy/en/release-notes/TypeScript 5.7.md +++ b/packages/documentation/copy/en/release-notes/TypeScript 5.7.md @@ -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. @@ -493,3 +493,4 @@ const p2 = p.catch(() => null); ``` [See this change for more details](https://github.com/microsoft/TypeScript/pull/59661). +