SAP / ui5-typescript

Tooling to enable TypeScript support in SAPUI5/OpenUI5 projects
https://sap.github.io/ui5-typescript
Apache License 2.0
201 stars 28 forks source link

@sapui5/types 1.121.1, 1.121.2(?) and 1.122.1: 'JQuery' only refers to a type, but is used as namespace here. #433

Closed akudev closed 5 months ago

akudev commented 5 months ago

For reference:

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.

akudev commented 5 months ago

Fix is prepared for 1.123.0