fix(codemode): return final top-level expression (#35759)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
This commit is contained in:
parent
b2ce195bda
commit
d0733f83bf
4 changed files with 26 additions and 37 deletions
|
|
@ -30,7 +30,6 @@ export type Binding = {
|
|||
|
||||
export type StatementResult =
|
||||
| { kind: "none" }
|
||||
| { kind: "value"; value: unknown }
|
||||
| { kind: "return"; value: unknown }
|
||||
| { kind: "break" }
|
||||
| { kind: "continue" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue