vuex-orm-decorators
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -7,3 +7,3 @@ import { Model } from '@vuex-orm/core'; | ||
export declare function OrmModel(entityName: string, parentEntity?: string, types?: { | ||
[key: string]: Model; | ||
[key: string]: typeof Model; | ||
}, typeKey?: string): <Model_1 extends Function>(constructor: Model_1) => void | Model_1; |
{ | ||
"name": "vuex-orm-decorators", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Simple Typescript decorators to improve the vuex-orm experience in Typescript by introducing typed property access.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -8,3 +8,3 @@ import { Model } from '@vuex-orm/core'; | ||
*/ | ||
export function OrmModel(entityName: string, parentEntity?: string, types?: { [key: string]: Model }, typeKey?: string) { | ||
export function OrmModel(entityName: string, parentEntity?: string, types?: { [key: string]: typeof Model }, typeKey?: string) { | ||
return function <Model extends Function>(constructor: Model): Model | void { | ||
@@ -11,0 +11,0 @@ const model: Function = constructor; |
Sorry, the diff of this file is not supported yet
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
34937