typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
17 lines (13 loc) • 420 B
TypeScript
/// <reference path="../../../globals.d.ts" />
declare module goog._string {
interface Parser {
/**
* Parses a string into an object and returns the result.
* Agnostic to the format of string and object.
*
* @param {string} s The string to parse.
* @return {*} The object generated from the string.
*/
parse(s: string): any;
}
}