pxt-core
Version:
Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors
12 lines (11 loc) • 381 B
TypeScript
/// <reference path="../../pxtlib.d.ts" />
import * as Blockly from "blockly";
/**
* Subclass of FieldVariable to filter out the "delete" option when
* variables are part of a function argument (or else the whole function
* gets deleted).
*/
export declare class FieldArgumentVariable extends Blockly.FieldVariable {
constructor(varName: string);
generateMenu(): any;
}