Skip to content

Commit

Permalink
Oh, we can narrow the return type too
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed Sep 5, 2023
1 parent 49e36c6 commit ecf1e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/semantics/denote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function denoteCovertLittleV(value: CovertValue): Expr | null {
}
}

function denoteOvertLittleV(toaq: string): Expr | null {
function denoteOvertLittleV(toaq: string): Expr {
switch (toaq) {
case 'nä':
return na;
Expand Down

0 comments on commit ecf1e5c

Please sign in to comment.