vuex-orm-decorators
Advanced tools
Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "vuex-orm-decorators", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Simple Typescript decorators to improve the vuex-orm experience in Typescript by introducing typed property access.", | ||
@@ -25,4 +25,4 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@vuex-orm/core": "^0.32.0", | ||
"typescript": "^3.5.3", | ||
"@vuex-orm/core": "^0.32.1", | ||
"typescript": "^3.6.2", | ||
"vue": "^2.6.10", | ||
@@ -29,0 +29,0 @@ "vuex": "^3.1.1" |
@@ -46,3 +46,3 @@ import { Model, Attribute } from '@vuex-orm/core'; | ||
export function AttrField(defaultValue?: any) { | ||
return Field(Model.string(defaultValue)); | ||
return Field(Model.attr(defaultValue)); | ||
} | ||
@@ -49,0 +49,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34935