Skip to content

Commit a4049a4

Browse files
committed
Fix linter error
1 parent a3d3f54 commit a4049a4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/types/vuex-orm.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ declare module '@vuex-orm/core' {
88
/**
99
* The api client.
1010
*/
11-
export var axios: AxiosInstance | null
11+
export let axios: AxiosInstance | null
1212

1313
/**
1414
* The global api configuration for all models.
1515
*/
16-
export var globalApiConfig: GlobalConfig
16+
export let globalApiConfig: GlobalConfig
1717

1818
/**
1919
* The api configuration for the model.
2020
*/
21-
export var apiConfig: Config | null
21+
export let apiConfig: Config | null
2222

2323
/**
2424
* Set the given axios instance.

test/feature/VuexORMAxios.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ describe('Feature - Vuex ORM Axios', () => {
2020
it('throws when calling api request without registering the axios', () => {
2121
VuexORM.use(VuexORMAxios)
2222

23+
// tslint:disable-next-line
2324
expect(() => { Model.api().axios }).toThrowError('Vuex ORM Axios')
2425
})
2526
})

0 commit comments

Comments
 (0)