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; }