From f90c2495b65f1d64f6013840ef135e3039060c95 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Wed, 25 Dec 2024 22:57:23 -0600 Subject: [PATCH] TW: add types for https://github.com/TurboWarp/scratch-vm/pull/228 --- types/scratch-vm.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/scratch-vm.d.ts b/types/scratch-vm.d.ts index 620af5a..324076e 100644 --- a/types/scratch-vm.d.ts +++ b/types/scratch-vm.d.ts @@ -857,7 +857,10 @@ declare namespace VM { runtime: Runtime; - refreshBlocks(): Promise; + /** + * @param extensionId Specified which extension to refresh. Added by TW. + */ + refreshBlocks(extensionId?: string): Promise; isExtensionLoaded(extensionID: string): boolean;