UNPKG

@webwriter/block-based-code

Version:

Write block-based code (e.g. Scratch) and run it.

8 lines (6 loc) 264 B
import type { Block } from "blockly"; import { ExecutableGenerator } from "../generator/generator"; /** * The generator function type. */ export type GeneratorFunction = (block: Block, generator: ExecutableGenerator) => [string, number] | string | null;