Skip to content

Commit

Permalink
Known issues: version correction
Browse files Browse the repository at this point in the history
  • Loading branch information
akudev committed Mar 28, 2024
1 parent 1d99358 commit 6367543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ When Yarn 2.x or later with PnP is used, dependencies are handled in a different
Also see [this FAQ entry](how-to-reference-the-ui5-types-in-tsconfigjson-as-types-or-typeroots-also-error-ts2688-cannot-find-type-definition-file-for-node_modules).


## @sapui5/types 1.121.1 and 1.122.1: errors in type definitions
## @sapui5/types 1.121.1, 1.121.2(?) and 1.122.1: errors in type definitions

Only in these versions and only in the SAPUI5 types there are TypeScript errors like `'JQuery' only refers to a type, but is used as namespace here.`. This is because some of the type definition files were wrongly named (e.g. `core-1.122.0-esm-d.ts` instead of `sap.ui.core.d.ts`) and hence no longer treated as ambient files (they no longer end with ".d.ts"). As a workaround, stick to the initial patch version 1.121.0 or 1.122.0 until you can use 1.123.x.

Expand Down

0 comments on commit 6367543

Please sign in to comment.