Skip to content

Commit

Permalink
fix(types): add literal to possible where options
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny Schibrikov committed May 22, 2019
1 parent 30c5ca5 commit d5fe0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/lib/model.d.ts
Expand Up @@ -121,7 +121,7 @@ export interface ScopeOptions {
/**
* The type accepted by every `where` option
*/
export type WhereOptions = WhereAttributeHash | AndOperator | OrOperator | Where;
export type WhereOptions = WhereAttributeHash | AndOperator | OrOperator | Literal | Where;

/**
* Example: `[Op.any]: [2,3]` becomes `ANY ARRAY[2, 3]::INTEGER`
Expand Down

0 comments on commit d5fe0c6

Please sign in to comment.