Skip to content

Commit 2871c1b

Browse files
committedAug 23, 2021
style: fix lint
1 parent 8d00f62 commit 2871c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/typescript/queries.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ interface ITest extends Document {
4747

4848
const Test = model<ITest, Model<ITest, QueryHelpers>>('Test', schema);
4949

50-
Test.find({}, {}, {populate:{path:"child", model:ChildModel, match:true}}).exec().then((res: Array<ITest>) => console.log(res))
50+
Test.find({}, {}, { populate: { path: 'child', model: ChildModel, match: true } }).exec().then((res: Array<ITest>) => console.log(res));
5151

5252
Test.find().byName('test').byName('test2').orFail().exec().then(console.log);
5353

0 commit comments

Comments
 (0)
Please sign in to comment.