不要怂,就是干,撸起袖子干!

Commit 3fd64cbd by 김성환 Committed by GitHub

fix(types): allow `sequelize.col` in `attributes` (#13105)

1 parent 4ec88a67
Showing with 1 additions and 1 deletions
...@@ -479,7 +479,7 @@ export type Order = string | Fn | Col | Literal | OrderItem[]; ...@@ -479,7 +479,7 @@ export type Order = string | Fn | Col | Literal | OrderItem[];
* Please note if this is used the aliased property will not be available on the model instance * Please note if this is used the aliased property will not be available on the model instance
* as a property but only via `instance.get('alias')`. * as a property but only via `instance.get('alias')`.
*/ */
export type ProjectionAlias = readonly [string | Literal | Fn, string]; export type ProjectionAlias = readonly [string | Literal | Fn | Col, string];
export type FindAttributeOptions = export type FindAttributeOptions =
| (string | ProjectionAlias)[] | (string | ProjectionAlias)[]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!