From 10b04fbd265d5a6412fedede8d0772ae90242c3e Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sat, 3 Dec 2022 08:25:25 -0800 Subject: [PATCH] Add missing type --- packages/bun-types/jsc.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/bun-types/jsc.d.ts b/packages/bun-types/jsc.d.ts index c4dce65dfb..30c7caebd7 100644 --- a/packages/bun-types/jsc.d.ts +++ b/packages/bun-types/jsc.d.ts @@ -57,4 +57,9 @@ declare module "bun:jsc" { * This is untested. May not be supported yet on macOS */ export function startRemoteDebugger(host?: string, port?: number): void; + + /** + * Run JavaScriptCore's sampling profiler + */ + export function startSamplingProfiler(optionalDirectory?: string): void; }