kendo-vue icon indicating copy to clipboard operation
kendo-vue copied to clipboard

Add TypeScript Type about the injected kendoForm

Open PekoPPT opened this issue 2 years ago • 0 comments

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

PekoPPT avatar Jul 07 '23 09:07 PekoPPT