There was an error while loading. Please reload this page.
1 parent c3c767e commit 3517eb7Copy full SHA for 3517eb7
2 files changed
types/lib/model.d.ts
@@ -350,7 +350,7 @@ export type WhereValue =
350
| OrOperator
351
| AndOperator
352
| WhereGeometryOptions
353
- | (string | number | WhereAttributeHash)[]; // implicit [Op.or]
+ | (string | number | Buffer | WhereAttributeHash)[]; // implicit [Op.or]
354
355
/**
356
* A hash of attributes to describe your search.
types/test/where.ts
@@ -15,9 +15,12 @@ let where: WhereOptions;
15
*/
16
where = {
17
string: 'foo',
18
+ strings: ['foo'],
19
number: 1,
20
+ numbers: [1],
21
boolean: true,
22
buffer: Buffer.alloc(0),
23
+ buffers: [Buffer.alloc(0)],
24
null: null,
25
};
26
0 commit comments