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 (20 loc) 631 B
/// <reference path="../../../globals.d.ts" /> declare module goog.promise { interface Resolver<TYPE> { /** * The promise that created this resolver. * @const {!goog.Promise.<TYPE>} */ promise: any /*missing*/; /** * Resolves this resolver with the specified value. * @const {function((TYPE|goog.Promise.<TYPE>|Thenable))} */ resolve: any /*missing*/; /** * Rejects this resolver with the specified reason. * @const {function(*): void} */ reject: any /*missing*/; } }