2.0.4 • Published 6 years ago
precept-decorator v2.0.4
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