typings do not need PropType
acidjazz opened this issue · 0 comments
acidjazz commented
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
}>