Skip to content

Commit 484eb72

Browse files
committed
style: fix lint
1 parent 01bb2b9 commit 484eb72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/types/schema.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,13 +1782,13 @@ function gh15301() {
17821782
function gh15412() {
17831783
const ScheduleEntrySchema = new Schema({
17841784
startDate: { type: Date, required: true },
1785-
endDate: { type: Date, required: false },
1785+
endDate: { type: Date, required: false }
17861786
});
17871787
const ScheduleEntry = model('ScheduleEntry', ScheduleEntrySchema);
17881788

1789-
type ScheduleEntryDoc = ReturnType<typeof ScheduleEntry["hydrate"]>
1789+
type ScheduleEntryDoc = ReturnType<typeof ScheduleEntry['hydrate']>
17901790

1791-
ScheduleEntrySchema.post('init', function (this: ScheduleEntryDoc, _res: any, next: CallbackWithoutResultAndOptionalError) {
1791+
ScheduleEntrySchema.post('init', function(this: ScheduleEntryDoc, _res: any, next: CallbackWithoutResultAndOptionalError) {
17921792
expectType<Date>(this.startDate);
17931793
expectType<Date | null | undefined>(this.endDate);
17941794
next();

0 commit comments

Comments
 (0)