UNPKG

typescript-closure-tools

Version:

Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files

29 lines (24 loc) 1.25 kB
/// <reference path="../../../globals.d.ts" /> /// <reference path="./menuitem.d.ts" /> /// <reference path="./controlcontent.d.ts" /> /// <reference path="../dom/dom.d.ts" /> declare module goog.ui { class CheckBoxMenuItem extends CheckBoxMenuItem__Class { } /** Fake class which should be extended to avoid inheriting static properties */ class CheckBoxMenuItem__Class extends goog.ui.MenuItem__Class { /** * Class representing a checkbox menu item. This is just a convenience class * that extends {@link goog.ui.MenuItem} by making it checkable. * * @param {goog.ui.ControlContent} content Text caption or DOM structure to * display as the content of the item (use to add icons or styling to * menus). * @param {*=} opt_model Data/model associated with the menu item. * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper used for * document interactions. * @constructor * @extends {goog.ui.MenuItem} */ constructor(content: goog.ui.ControlContent, opt_model?: any, opt_domHelper?: goog.dom.DomHelper); } }