File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export default class Migrate extends MigrationsBase {
75
75
connectionName : this . connection ,
76
76
batch : this . batch ,
77
77
dryRun : this . dryRun ,
78
- disableLocks : this . disableLocks
78
+ disableLocks : this . disableLocks ,
79
79
} )
80
80
}
81
81
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class DbRowCheck {
42
42
constructor (
43
43
private ruleName : 'exists' | 'unique' ,
44
44
private database : DatabaseContract ,
45
- private helpers : typeof validatorStatic [ 'helpers' ]
45
+ private helpers : ( typeof validatorStatic ) [ 'helpers' ]
46
46
) { }
47
47
48
48
/**
@@ -224,7 +224,7 @@ export function extendValidator(
224
224
*/
225
225
const existsChecker = new DbRowCheck ( 'exists' , database , validator . helpers )
226
226
227
- validator . rule < ReturnType < typeof existsChecker [ 'compile' ] > > (
227
+ validator . rule < ReturnType < ( typeof existsChecker ) [ 'compile' ] > > (
228
228
'exists' ,
229
229
async ( value , compiledOptions , options ) => {
230
230
try {
@@ -252,7 +252,7 @@ export function extendValidator(
252
252
*/
253
253
const uniqueChecker = new DbRowCheck ( 'unique' , database , validator . helpers )
254
254
255
- validator . rule < ReturnType < typeof existsChecker [ 'compile' ] > > (
255
+ validator . rule < ReturnType < ( typeof existsChecker ) [ 'compile' ] > > (
256
256
'unique' ,
257
257
async ( value , compiledOptions , options ) => {
258
258
try {
You can’t perform that action at this time.
0 commit comments