Skip to content

Commit e2a8071

Browse files
author
mathew
committed
Merge commit '4d1dedaa56090406b1f24797c5acabae893361ab'
2 parents 5d8da76 + 4d1deda commit e2a8071

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ export function deepAssign(currentObj: Record<any, any>, newObj: Record<any, any
4545
}
4646
return { ...currentObj, ..._newObj };
4747
}
48-
export function applyMutation<T extends object>(
48+
export function applyMutation<T extends object = any, C = any>(
49+
this: C,
4950
conditions: MutableCondition[],
5051
obj: T,
5152
option: {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"target": "ESNext",
1111
"emitDecoratorMetadata": true,
1212
"experimentalDecorators": true,
13-
"strict": false,
13+
"strict": true,
1414
"strictPropertyInitialization": false,
1515
"esModuleInterop": true,
1616
"sourceMap": false,

0 commit comments

Comments
 (0)