UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

26 lines (20 loc) 538 B
// 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/DefinitelyTyped/DefinitelyTyped declare module 'jsesc' { function jsesc(str: string, opts?: any): string; namespace jsesc { var version: string; interface Opts { quotes?: string; wrap?: boolean; es6?: boolean; escapeEverything?: boolean; compact?: boolean; indent?: string; json?: boolean; } } export = jsesc; }