From 79f449bc6cd40ed7e8cfd3ad0352f0a1ff0f89f6 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Thu, 16 Oct 2025 09:53:38 -0700 Subject: [PATCH] Update value.ts --- src/value.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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: '' }