Skip to content

Commit 0f3f80c

Browse files
committed
stamp: update types/global.d.ts
1 parent 559ec7f commit 0f3f80c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

types/global.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ declare namespace EdgeRuntime {
9595
constructor(key: string);
9696

9797
fetch(request: Request, options?: UserWorkerFetchOptions): Promise<Response>;
98+
dispose(): void;
99+
100+
get active(): boolean;
101+
98102
static create(opts: UserWorkerCreateOptions): Promise<UserWorker>;
99103
}
100104

@@ -105,7 +109,10 @@ declare namespace EdgeRuntime {
105109
export function systemMemoryInfo(): MemInfo;
106110
export function raiseSegfault(): void;
107111

108-
export { UserWorker as userWorkers };
112+
export {
113+
type UserWorker,
114+
UserWorker as userWorkers,
115+
};
109116
}
110117

111118
declare namespace Supabase {

0 commit comments

Comments
 (0)