fumeapp / tailvue

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

typings do not need PropType #4

Closed acidjazz closed 2 years ago

acidjazz commented 2 years ago

typings.d.ts

declare const PushButton: DefineComponent<{
  state: PropType<PushButtonState>
  size: PropType<PushButtonSize>
  theme: PropType<PushButtonThemeName>
  customTheme: PropType<PushButtonTheme>
}>

can be

declare const PushButton: DefineComponent<{
  state: PushButtonState
  size: PushButtonSize
  theme: PushButtonThemeName
  customTheme: PushButtonTheme
}>