Skip to content

Commit f90c249

Browse files
committed
TW: add types for TurboWarp/scratch-vm#228
1 parent a383089 commit f90c249

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

types/scratch-vm.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,10 @@ declare namespace VM {
857857

858858
runtime: Runtime;
859859

860-
refreshBlocks(): Promise<void[]>;
860+
/**
861+
* @param extensionId Specified which extension to refresh. Added by TW.
862+
*/
863+
refreshBlocks(extensionId?: string): Promise<void[]>;
861864

862865
isExtensionLoaded(extensionID: string): boolean;
863866

0 commit comments

Comments
 (0)