npm install --save @types/escape-quotes
This package contains type definitions for escape-quotes (https://www.npmjs.com/package/escape-quotes).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/escape-quotes.
/**
* Escape `'` with `\\`
* @param input the input string
*/
declare function escapeQuote(input: string): string;
/**
* Escape the given character with the given escape character
* @param input the input string
* @param character the character to escape (e.g. `'`)
* @param escape_character the character to escape with (e.g. `\\`)
*/
declare function escapeQuote(input: string, character: string, escape_character: string): string;
export = escapeQuote;
- Last updated: Mon, 26 Aug 2024 05:07:41 GMT
- Dependencies: none
These definitions were written by Amin Yahyaabadi.