@marcelohmdias/vue-typed
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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()

  }
}

Readme

Keywords

Package Sidebar

Install

npm i @marcelohmdias/vue-typed

Weekly Downloads

4

Version

0.2.0

License

MIT

Unpacked Size

24.3 kB

Total Files

13

Last publish

Collaborators

  • marcelohmdias