Skip to content
New issue

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

typing are still not matching for props in PushButton #5

Open
acidjazz opened this issue Apr 15, 2022 · 0 comments
Open

typing are still not matching for props in PushButton #5

acidjazz opened this issue Apr 15, 2022 · 0 comments

Comments

@acidjazz
Copy link
Member

(property) 'push-button': DefineComponent<{
    state: PushButtonState;
    size: PushButtonSize;
    theme: PushButtonThemeName;
    customTheme: PushButtonTheme;
}, ... 10 more ..., {}>
Type '{ state: PushButtonState; customTheme: PushButtonTheme; "custom-theme": PushButtonTheme; }' is not assignable to type 'IntrinsicAttributes & Partial<{}> & Omit<Readonly<{ state: PushButtonState; size: PushButtonSize; theme: PushButtonThemeName; customTheme: PushButtonTheme; }> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>'.
  Type '{ state: PushButtonState; customTheme: PushButtonTheme; "custom-theme": PushButtonTheme; }' is missing the following properties from type 'Omit<Readonly<{ state: PushButtonState; size: PushButtonSize; theme: PushButtonThemeName; 

image

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

No branches or pull requests

1 participant