Skip to content

Add TypeScript Type about the injected kendoForm #419

Open
@PekoPPT

Description

@PekoPPT

Describe the bug
The way the Kendo UI for Vue Native Form works is that it internally provides a kendoForm object that is later injected inside a FormContent.

The injection happens with a code like this:
const form = inject( 'kendoForm', {} );

but there is no TypeScript type that can be assigned to the injected object.

Expected behavior
Add a Type definition for the injected kendoForm object. The result would be something like:
const form = inject( 'kendoForm', {} ) as KendoFormInjectedProps

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementItem which represents a new feature or an improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions