Skip to content

Commit 9b3b47d

Browse files
author
Michael Wittwer
committed
chore(lint): resolve linting issue
remove unnecessary type assertion
1 parent eb5aa0a commit 9b3b47d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dynamo/expression/functions/alias-for-operator.function.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import { ConditionOperator } from '../type/condition-operator.type'
1010
*/
1111
export function aliasForOperator(operator: ConditionOperator): OperatorAlias {
1212
return Array.isArray(OPERATOR_TO_ALIAS_MAP[operator])
13-
? <OperatorAlias>OPERATOR_TO_ALIAS_MAP[operator][0]
14-
: <OperatorAlias>OPERATOR_TO_ALIAS_MAP[operator]
13+
? OPERATOR_TO_ALIAS_MAP[operator][0]
14+
: OPERATOR_TO_ALIAS_MAP[operator]
1515
}

0 commit comments

Comments
 (0)