Skip to content

Commit

Permalink
TW: add types for TurboWarp/scratch-vm#228
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Dec 26, 2024
1 parent a383089 commit f90c249
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/scratch-vm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,10 @@ declare namespace VM {

runtime: Runtime;

refreshBlocks(): Promise<void[]>;
/**
* @param extensionId Specified which extension to refresh. Added by TW.
*/
refreshBlocks(extensionId?: string): Promise<void[]>;

isExtensionLoaded(extensionID: string): boolean;

Expand Down

0 comments on commit f90c249

Please sign in to comment.