From d31ed619c1f44ce54e8fa2c126b41569dfe5790e Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 5 Sep 2023 16:20:40 -0400 Subject: [PATCH] Use narrower type for denoteOvertLittleV --- src/semantics/denote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/semantics/denote.ts b/src/semantics/denote.ts index 3c7278a..6ece0d1 100644 --- a/src/semantics/denote.ts +++ b/src/semantics/denote.ts @@ -362,7 +362,7 @@ function denoteCovertLittleV(value: CovertValue): Expr | null { } } -function denoteOvertLittleV(toaq: string | null): Expr | null { +function denoteOvertLittleV(toaq: string): Expr | null { switch (toaq) { case 'nä': return na;