Skip to content

Improve props handling - respect defined types

Compare
Choose a tag to compare
@karol-f karol-f released this 08 Apr 20:18
· 92 commits to master since this release

Improve props handling - respect defined types. Current behaviour is preserved until property type (https://vuejs.org/v2/guide/components-props.html#Prop-Validation) is used.

Thanks to it you can now freely handle passing string/numbers etc. without automatic conversion and it's guessing.

Thanks @auzmartist for a PR!