-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
Describe the bug
@sapui5/types
bundles @types/[email protected]
. However, UI5 really includes QUnit 2.18.0, see https://github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
Overriding this seems impossible. When I manually try to set a different version in my package.json's devDependencies, I get an error message likely due to conflicting type declarations:
error TS2688: Cannot find type definition file for 'node_modules'.
The file is in the program because:
Entry point for implicit type library 'node_modules'
This is especially an issue, as when using karma in script mode, you have to supply QUnit yourself, and that could be an even newer version (2.19, for example): https://github.com/SAP/karma-ui5/tree/main#script-mode
Expected behavior
Dependencies of @sapui5/types
match the actually bundled dependencies, or allow overrides.
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right