@@ -67,31 +67,31 @@ function makeContext() {
6767 }
6868 class Person extends BaseModel {
6969 public static modelName = 'Person'
70- public static test : boolean = true
70+ public static test = true
7171 }
7272 class Item extends BaseModel {
7373 public static modelName = 'Item'
74- public static test : boolean = true
74+ public static test = true
7575 }
7676 class Task extends BaseModel {
7777 public static modelName = 'Task'
78- public static test : boolean = true
78+ public static test = true
7979 }
8080 class Car extends BaseModel {
8181 public static modelName = 'Car'
82- public static test : boolean = true
82+ public static test = true
8383 }
8484 class Group extends BaseModel {
8585 public static modelName = 'Group'
86- public static test : boolean = true
86+ public static test = true
8787 }
8888 class Test extends BaseModel {
8989 public static modelName = 'Test'
90- public static test : boolean = true
90+ public static test = true
9191 }
9292 class Thing extends BaseModel {
9393 public static modelName = 'Thing'
94- public static test : boolean = true
94+ public static test = true
9595 }
9696
9797 return {
@@ -119,7 +119,7 @@ function makeContextWithState() {
119119 class ServiceTodo extends BaseModel {
120120 public static modelName = 'ServiceTodo'
121121
122- public static test : boolean = true
122+ public static test = true
123123 }
124124
125125 return {
@@ -156,13 +156,13 @@ function makeAutoRemoveContext() {
156156 } )
157157 class Todo extends BaseModel {
158158 public static modelName = 'Todo'
159- public static servicePath : string = 'todos'
160- public static test : boolean = true
159+ public static servicePath = 'todos'
160+ public static test = true
161161 }
162162 class Task extends BaseModel {
163163 public static modelName = 'Task'
164- public static servicePath : string = 'tasks'
165- public static test : boolean = true
164+ public static servicePath = 'tasks'
165+ public static test = true
166166 }
167167 return {
168168 feathers,
@@ -197,7 +197,6 @@ describe('Service Module', function() {
197197 'the Model was added to the models'
198198 )
199199 assert (
200- // @ts -ignore
201200 feathersService . FeathersVuexModel === ServiceTodo ,
202201 'the Model is also found at service.FeathersVuexModel'
203202 )
@@ -388,8 +387,10 @@ describe('Service Module', function() {
388387 } )
389388
390389 it ( `allows shallow assign of data when cloning` , function ( ) {
391- const { serviceTodo, owners } = this
392- let serviceTodoClone = serviceTodo . clone ( { isComplete : ! serviceTodo . isComplete } )
390+ const { serviceTodo } = this
391+ const serviceTodoClone = serviceTodo . clone ( {
392+ isComplete : ! serviceTodo . isComplete
393+ } )
393394
394395 assert . equal (
395396 ! serviceTodo . isComplete ,
@@ -408,7 +409,7 @@ describe('Service Module', function() {
408409
409410 it ( 'allows reseting copy changes back to match the original' , function ( ) {
410411 const { serviceTodo } = this
411- let serviceTodoClone = serviceTodo . clone ( )
412+ const serviceTodoClone = serviceTodo . clone ( )
412413
413414 serviceTodoClone . description = 'Do something else'
414415 serviceTodoClone . reset ( )
@@ -488,7 +489,7 @@ describe('Service Module', function() {
488489 const { makeServicePlugin, BaseModel, Task } = makeContext ( )
489490 class Todo extends BaseModel {
490491 public static modelName = 'Todo'
491- public static test : boolean = true
492+ public static test = true
492493 }
493494 const store = new Vuex . Store < RootState > ( {
494495 plugins : [
0 commit comments