Skip to content

marcelohmdias/vue-typed

Repository files navigation

Vue Typed

The easiest way to define types in Vue prop.

Installation

npm install --save @marcelohmdias/vue-typed
# or
yarn add @marcelohmdias/vue-typed

Example

import Typed from '@marcelohmdias/vue-typed'

export default {

  name: 'Foo',

  props: {

    bar: Typed.is.str.with('baz').def()

  }
}

About

💡 The easiest way to define types in Vue props

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published