aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/bun-types/jsc.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/bun-types/jsc.d.ts b/packages/bun-types/jsc.d.ts
index c4dce65df..30c7caebd 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;
}