From deec5a8a30a16b49348442503d9786c53e766357 Mon Sep 17 00:00:00 2001 From: LuLaValva Date: Wed, 27 Nov 2024 15:14:36 -0800 Subject: [PATCH] fix: incude `satisfies` binary operator --- src/states/EXPRESSION.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/states/EXPRESSION.ts b/src/states/EXPRESSION.ts index 5347968..399ecc2 100644 --- a/src/states/EXPRESSION.ts +++ b/src/states/EXPRESSION.ts @@ -30,7 +30,13 @@ const unaryKeywords = [ "void", ] as const; -const binaryKeywords = ["instanceof", "in", "as", "extends"] as const; +const binaryKeywords = [ + "instanceof", + "in", + "as", + "extends", + "satisfies", +] as const; export const EXPRESSION: StateDefinition = { name: "EXPRESSION",