From 12559e93a223cfa8c4e19117b04f0b02744a1939 Mon Sep 17 00:00:00 2001 From: Sam Vervaeck Date: Wed, 31 Aug 2022 13:54:22 +0200 Subject: [PATCH] Fix incorrect typing of ReturnStatement.expression --- src/cst.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cst.ts b/src/cst.ts index 7f614a805..9f49302f1 100644 --- a/src/cst.ts +++ b/src/cst.ts @@ -1128,7 +1128,7 @@ export class ReturnStatement extends SyntaxBase { public constructor( public returnKeyword: ReturnKeyword, - public expression: Expression + public expression: Expression | null ) { super(); }