Skip to content

Commit 9c201e9

Browse files
committed
TW: fix VM.addAddonBlock arguments
1 parent b9bcd77 commit 9c201e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/scratch-vm.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ declare class VM extends EventEmitter<VM.VirtualMachineEventMap> {
15491549
setStageSize(width: number, height: number): void;
15501550
setInEditor(inEditor: boolean): void;
15511551
convertToPackagedRuntime(): void;
1552-
addAddonBlock(): void;
1552+
addAddonBlock(addonBlock: VM.AddonBlockOptions): void;
15531553
getAddonBlock(procedureCode: string): VM.AddonBlock;
15541554
storeProjectOptions(): void;
15551555
enableDebug(): string;

0 commit comments

Comments
 (0)