diff --git a/src/value.ts b/src/value.ts index 95334e2..4d02a8f 100644 --- a/src/value.ts +++ b/src/value.ts @@ -1,4 +1,4 @@ -import { Scope } from './scope' +import { Scope } from "./scope" export type Value = | { type: 'null'; value: null } @@ -9,13 +9,13 @@ export type Value = | { type: 'dict'; value: Dict } | { type: 'regex'; value: RegExp } | { - type: 'function' - params: string[] - defaults: Record // indices into constants - body: number - parentScope: Scope - variadic: boolean - named: boolean + type: 'function', + params: string[], + defaults: Record, // indices into constants + body: number, + parentScope: Scope, + variadic: boolean, + named: boolean, value: '' }