NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/xe-utils/methods/string/escape.d.ts
2023-09-14 14:47:11 +08:00

20 lines
406 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { XEUtilsMethods } from '../xe-utils'
/**
* 转义HTML字符串替换&, <, >, ", ', \`字符
* @param str 字符串
*/
export declare function escape(str: string): string;
declare module '../xe-utils' {
interface XEUtilsMethods {
/**
* 转义HTML字符串替换&, <, >, ", ', \`字符
* @param str 字符串
*/
escape: typeof escape;
}
}
export default escape