Socket
Socket
Sign inDemoInstall

vuex-orm-decorators

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuex-orm-decorators - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

2

dist/types/model.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc