aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/scripts/class-definitions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/scripts/class-definitions.ts')
-rw-r--r--src/bun.js/scripts/class-definitions.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bun.js/scripts/class-definitions.ts b/src/bun.js/scripts/class-definitions.ts
index 5dac5db9c..ae1e7cf35 100644
--- a/src/bun.js/scripts/class-definitions.ts
+++ b/src/bun.js/scripts/class-definitions.ts
@@ -1,7 +1,11 @@
export type Field =
- | { getter: string; cache?: true | string }
- | { setter: string }
- | { accessor: { getter: string; setter: string }; cache?: true | string }
+ | { getter: string; cache?: true | string; this?: boolean }
+ | { setter: string; this?: boolean }
+ | {
+ accessor: { getter: string; setter: string };
+ cache?: true | string;
+ this?: boolean;
+ }
| {
fn: string;
length?: number;