We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a deficiency in the ts structure on the @oku-ui/primitive, I could not solve it.
@oku-ui/primitive
The bellow example, I am trying to add props to the component but the the following error
No overload matches this call. Overload 1 of 5, '(setup: (props: LabelProps, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: (exposed?: Record<string, any> | undefined) => void; }) => RenderFunction | Promise<...>, options?: (Pick<...> & { ...; }) | undefined): (props: LabelProps & {}) => any', gave the following error. runtime-core.d.ts(549, 5): The expected type comes from property 'props' which is declared here on type 'ComponentOptionsWithoutProps<LabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, string, {}, LabelProps & {}>'
The text was updated successfully, but these errors were encountered:
Try this.
props: { test: { type: String } } as never
Sorry, something went wrong.
@johnsoncodehk thank you, with your help this has been resolved automatically.
Successfully merging a pull request may close this issue.
There is a deficiency in the ts structure on the
@oku-ui/primitive
, I could not solve it.The bellow example, I am trying to add props to the component but the the following error
The text was updated successfully, but these errors were encountered: