Skip to content

Commit

Permalink
fix: remove unnecessary optionality from Raw operator's columnAlias a…
Browse files Browse the repository at this point in the history
…rgument (typeorm#6321)
  • Loading branch information
yokomotod authored and Svetlozar committed Jan 12, 2021
1 parent 2dd0a04 commit 85afc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/find-options/operator/Raw.ts
Expand Up @@ -4,6 +4,6 @@ import {FindOperator} from "../FindOperator";
* Find Options Operator.
* Example: { someField: Raw([...]) }
*/
export function Raw<T>(value: string|((columnAlias?: string) => string)) {
export function Raw<T>(value: string|((columnAlias: string) => string)) {
return new FindOperator("raw", value as any, false);
}

0 comments on commit 85afc02

Please sign in to comment.