typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
33 lines (26 loc) • 1.07 kB
TypeScript
/// <reference path="../../../globals.d.ts" />
declare module goog.testing {
class ObjectPropertyString extends ObjectPropertyString__Class { }
/** Fake class which should be extended to avoid inheriting static properties */
class ObjectPropertyString__Class {
/**
* Object to pass a property name as a string literal and its containing object
* when the JSCompiler is rewriting these names. This should only be used in
* test code.
*
* @param {Object} object The containing object.
* @param {Object|string} propertyString Property name as a string literal.
* @constructor
* @final
*/
constructor(object: Object, propertyString: Object|string);
/**
* @return {Object} The object.
*/
getObject(): Object;
/**
* @return {string} The property string.
*/
getPropertyString(): string;
}
}