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) • 531 B
TypeScript
// Type definitions for jsesc 0.4.3
// Project: https://github.com/mathiasbynens/jsesc
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'jsesc' {
function jsesc(str: string, opts?: any): string;
module jsesc {
var version: string;
interface Opts {
quotes?: string;
wrap?: boolean;
es6?: boolean;
escapeEverything?: boolean;
compact?: boolean;
indent?: string;
json?: boolean;
}
}
export = jsesc;
}