Skip to content

Commit 5df3cc6

Browse files
committed
refactor(compiler): tighten Unary.operator type
1 parent 4929577 commit 5df3cc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/compiler/src/expression_parser

packages/compiler/src/expression_parser/ast.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export class Unary extends Binary {
347347
private constructor(
348348
span: ParseSpan,
349349
sourceSpan: AbsoluteSourceSpan,
350-
public operator: string,
350+
public operator: '+' | '-',
351351
public expr: AST,
352352
binaryOp: string,
353353
binaryLeft: AST,

0 commit comments

Comments
 (0)