typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
11 lines (8 loc) • 370 B
TypeScript
/// <reference path="../../../globals.d.ts" />
declare module goog.events {
/**
* Enum of browser capabilities.
* @enum {boolean}
*/
enum BrowserFeature { HAS_W3C_BUTTON, HAS_W3C_EVENT_SUPPORT, SET_KEY_CODE_TO_PREVENT_DEFAULT, HAS_NAVIGATOR_ONLINE_PROPERTY, HAS_HTML5_NETWORK_EVENT_SUPPORT, HTML5_NETWORK_EVENTS_FIRE_ON_BODY, TOUCH_ENABLED }
}