-
Notifications
You must be signed in to change notification settings - Fork 187
Description
Description of the bug
Vaadin 23.3.0 seems to introduce stricter TS checks by default.
I had to configure the following in tsconfig.json in order to run applications that were working fine with Vaadin 23.2:
"noImplicitAny": false,
"noImplicitThis": false,
"strictPropertyInitialization": false
(noImplicitAny and noImplicitThis were already true with Vaadin 23.2, but now they flag additional errors.)
See some sample error logs in FlowingCode/FontAwesomeIronIconset#56
The new stricter defaults are problematic, since they also affect third-party components (addons), which may rely on loose checks.
Expected behavior
Since it's not documented as a breaking change, I would expect no additional TS errors when upgrading from Vaadin 23.2 to Vaadin 23.3.0.
Minimal reproducible example
See https://github.com/FlowingCode/FontAwesomeIronIconset/tree/font-awesome-iron-iconset-4.2.0 (fixed in FlowingCode/FontAwesomeIronIconset#58)
and https://github.com/FlowingCode/XTermConsoleAddon/commits/xterm-console-2.1.0 (fixed in FlowingCode/XTermConsoleAddon#66)
The application runs with no issues up to vaadin 23.2 (mvn jetty:run), but it fails with TS errors with vaadin 23.3 and 24.
Versions
- Vaadin / Flow version: 23.3.0, 24.0.0.alpha5
- Java version: 11, 17
- OS version: Windows 10