wonderful-panda / vue-tsx-support

TSX (JSX for TypeScript) support library for Vue
MIT License
578 stars 40 forks source link

Add transition duration prop #94

Open Maxim-Mazurok opened 2 years ago

Maxim-Mazurok commented 2 years ago

Adds duration prop for the <transition /> component.

See Explicit Transition Durations

Should resolve this error:

Type '{ duration: number; }' is not assignable to type 'CombinedTsxComponentAttrs<TransitionProps, {}, {}, {}, {}, true>'.
  Property 'duration' does not exist on type 'CombinedTsxComponentAttrs<TransitionProps, {}, {}, {}, {}, true>'.ts(2322)