Skip to content

Conversation

@javier-godoy
Copy link
Member

@javier-godoy javier-godoy commented Dec 13, 2022

This is a first step on refactoring TS sources so that they can be compiled with the default settings from Vaadin 23.3.0/24.

So far, we still rely on disabling noImplicitAny, noImplicitThis and strictPropertyInitialization checks; and there are some import issues that will have to be addressed later.

These changes are compatible with Vaadin 22 (it passes all the integration tests for Vaadin 22 and 24), hence no need for a new major version so far.

Related to #64

Type 'undefined' is not assignable to type 'number'.
The second parameter in CustomKeyEventHandlerRegistry.register can be undefined.
The parameter of registerCsiHandler must return boolean, but the existing helper functions returned void (and relied on !!undefined==false).
The parameter of cursorBackwardWrapped, cursorForwardWrapped and deleteChar is optional and defaults to 0.
@paodb paodb merged commit 3a85689 into master Dec 19, 2022
@paodb paodb deleted the ts-refactor branch December 19, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants