Skip to content

Commit 7c427ce

Browse files
authored
Fix plugin class (#56)
1 parent 5e8e392 commit 7c427ce

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@types/graphql": "^0.12.3",
4848
"@types/inflection": "^1.5.28",
4949
"@types/lodash-es": "^4.17.0",
50-
"@vuex-orm/core": "^0.26.2",
50+
"@vuex-orm/core": "^0.26.4",
5151
"apollo-cache-inmemory": "^1.1.7",
5252
"apollo-client": "^2.2.2",
5353
"apollo-link": "^1.2.0",

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import VuexORMGraphQL from './vuex-orm-graphql';
2-
import { Components } from '@vuex-orm/core/lib/plugins/use';
2+
import { Components, Plugin } from '@vuex-orm/core/lib/plugins/use';
33
import { Options } from './support/interfaces';
44

55
/**
66
* Plugin class. This just provides a static install method for Vuex-ORM and stores the instance of the model
77
* within this.instance.
88
*/
9-
export default class VuexORMGraphQLPlugin {
9+
export default class VuexORMGraphQLPlugin implements Plugin {
1010
/**
1111
* Contains the instance of VuexORMGraphQL
1212
*/

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@
193193
source-map "^0.5.6"
194194
vue-template-es2015-compiler "^1.6.0"
195195

196-
"@vuex-orm/core@^0.26.2":
197-
version "0.26.2"
198-
resolved "https://registry.yarnpkg.com/@vuex-orm/core/-/core-0.26.2.tgz#f93c49499b4050117d8b05a20e9239fb94388c44"
196+
"@vuex-orm/core@^0.26.4":
197+
version "0.26.4"
198+
resolved "https://registry.yarnpkg.com/@vuex-orm/core/-/core-0.26.4.tgz#02b4454fc5a71f24c7f81ec9315329695a74bf2a"
199199

200200
"@webassemblyjs/[email protected]":
201201
version "1.4.3"

0 commit comments

Comments
 (0)