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

26 lines (21 loc) 674 B
/// <reference path="../../../globals.d.ts" /> declare module goog.userAgent.jscript { /** * Whether we detect that the user agent is using Microsoft JScript. * @type {boolean} */ var HAS_JSCRIPT: boolean; /** * The installed version of JScript. * @type {string} */ var VERSION: string; /** * Whether the installed version of JScript is as new or newer than a given * version. * @param {string} version The version to check. * @return {boolean} Whether the installed version of JScript is as new or * newer than the given version. */ function isVersion(version: string): boolean; }