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

28 lines (23 loc) 1.17 kB
/// <reference path="../../../globals.d.ts" /> /// <reference path="./control.d.ts" /> /// <reference path="./controlcontent.d.ts" /> /// <reference path="../dom/dom.d.ts" /> /// <reference path="./menuheaderrenderer.d.ts" /> declare module goog.ui { class MenuHeader extends MenuHeader__Class { } /** Fake class which should be extended to avoid inheriting static properties */ class MenuHeader__Class extends goog.ui.Control__Class { /** * Class representing a menu header. * @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 {goog.dom.DomHelper=} opt_domHelper Optional DOM helper used for * document interactions. * @param {goog.ui.MenuHeaderRenderer=} opt_renderer Optional renderer. * @constructor * @extends {goog.ui.Control} */ constructor(content: goog.ui.ControlContent, opt_domHelper?: goog.dom.DomHelper, opt_renderer?: goog.ui.MenuHeaderRenderer); } }