typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
25 lines (20 loc) • 660 B
TypeScript
/// <reference path="../../../globals.d.ts" />
declare module goog.userAgent.flash {
/**
* Whether we can detect that the browser has flash
* @type {boolean}
*/
var HAS_FLASH: boolean;
/**
* Full version information of flash installed, in form 7.0.61
* @type {string}
*/
var VERSION: string;
/**
* Whether the installed flash version is as new or newer than a given version.
* @param {string} version The version to check.
* @return {boolean} Whether the installed flash version is as new or newer
* than a given version.
*/
function isVersion(version: string): boolean;
}