UNPKG

pxt-core

Version:

Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors

11 lines (10 loc) 529 B
import * as Blockly from "blockly"; export declare class DuplicateOnDragConnectionChecker extends Blockly.ConnectionChecker { doDragChecks(a: Blockly.RenderedConnection, b: Blockly.RenderedConnection, distance: number): boolean; /** * This is the same as the stock connection checker minus the commented out * shadow block check */ doSafetyChecks(a: Blockly.Connection | null, b: Blockly.Connection | null): number; } export declare function getContainingFunction(block: Blockly.Block): Blockly.Block;