UNPKG

pxt-core

Version:

Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors

17 lines (16 loc) 659 B
import * as Blockly from "blockly"; import { CommonFunctionMixin, CommonFunctionBlock } from "../commonFunctionMixin"; export interface SerializedShadow { inputName: string; connectedShadow?: any; connectedBlock?: string; } interface FunctionCallMixin extends CommonFunctionMixin { attachShadow_(input: Blockly.Input, typeName: string): void; buildShadowDom_(argumentType: string): Element; onchange(event: Blockly.Events.Abstract): void; afterWorkspaceLoad(): void; serializeChangedInputs(newMutation: Element): SerializedShadow[]; } export declare type FunctionCallBlock = CommonFunctionBlock & FunctionCallMixin; export {};