DefinitelyTyped/types/xml-escape/index.d.ts
2019-05-14 14:55:43 -07:00

14 lines
435 B
TypeScript

// Type definitions for xml-escape 1.1
// Project: https://github.com/miketheprogrammer/xml-escape
// Definitions by: Charles Kenney <https://github.com/charliekenney23>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Escape an XML string
*
* @param string String of XML to escape
* @param ignore Characters to ignore
*/
declare function escape(string: string, ignore?: string): string;
export = escape;