This package has been deprecated

Author message:

this package has been deprecated

precept-decorator

2.0.4 • Public • Published

precept-decorator

Use decorators to satisfy a given schema.

Features

  • Interfaces for data functions
  • Interface can be subset of data function
  • Arbitrary data depth

Installation

$ npm install --save precept-decorator

Usage

export default {
  @precept({
    id: '',
    name: '',
    age: ''
  })
  data: () => ({
    id: '',
    name: '',
    age: ''
  })
}

Author

Julian Claus and contributors.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i precept-decorator

Weekly Downloads

0

Version

2.0.4

License

MIT

Unpacked Size

82.5 kB

Total Files

9

Last publish

Collaborators

  • dhjd9m