Skip to content

Commit 92f0de6

Browse files
committedMay 22, 2023
style: format source code
1 parent f59ef9e commit 92f0de6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎commands/Migration/Rollback.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default class Migrate extends MigrationsBase {
7575
connectionName: this.connection,
7676
batch: this.batch,
7777
dryRun: this.dryRun,
78-
disableLocks: this.disableLocks
78+
disableLocks: this.disableLocks,
7979
})
8080
}
8181

‎src/Bindings/Validator.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class DbRowCheck {
4242
constructor(
4343
private ruleName: 'exists' | 'unique',
4444
private database: DatabaseContract,
45-
private helpers: typeof validatorStatic['helpers']
45+
private helpers: (typeof validatorStatic)['helpers']
4646
) {}
4747

4848
/**
@@ -224,7 +224,7 @@ export function extendValidator(
224224
*/
225225
const existsChecker = new DbRowCheck('exists', database, validator.helpers)
226226

227-
validator.rule<ReturnType<typeof existsChecker['compile']>>(
227+
validator.rule<ReturnType<(typeof existsChecker)['compile']>>(
228228
'exists',
229229
async (value, compiledOptions, options) => {
230230
try {
@@ -252,7 +252,7 @@ export function extendValidator(
252252
*/
253253
const uniqueChecker = new DbRowCheck('unique', database, validator.helpers)
254254

255-
validator.rule<ReturnType<typeof existsChecker['compile']>>(
255+
validator.rule<ReturnType<(typeof existsChecker)['compile']>>(
256256
'unique',
257257
async (value, compiledOptions, options) => {
258258
try {

0 commit comments

Comments
 (0)
Please sign in to comment.