fumeapp / tailvue

Vue components built for Nuxt3|Vue3 powered by Windi CSS|tailwindcss
157 stars 14 forks source link

typing are still not matching for props in PushButton #5

Open acidjazz opened 2 years ago

acidjazz commented 2 years ago
(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