Skip to content

Improve TypeScript type definitions for plugin components and event e… - #292

Merged
mjancarik merged 5 commits into
masterfrom
fix-ts-type-definitions
Mar 27, 2026
Merged

Improve TypeScript type definitions for plugin components and event e…#292
mjancarik merged 5 commits into
masterfrom
fix-ts-type-definitions

Conversation

@lastuvka

Copy link
Copy Markdown
Collaborator

…mitter

corvidism and others added 4 commits March 26, 2026 09:33
Since `Widget` type is created by binding its functions, `bindWidgetToFunctions` has to take `WidgetPartial`. It's impossible to use `bindWidgetToFunctions` in plugins' `setup()` and `create()` methods otherwise.
Change type for attribute `widget` of function `bindWidgetToFunctions()` to `WidgetPartial`
@mjancarik
mjancarik merged commit dd717ce into master Mar 27, 2026
8 checks passed
@mjancarik
mjancarik deleted the fix-ts-type-definitions branch March 27, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants