1
This commit is contained in:
13
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/escape.d.ts
vendored
Normal file
13
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/escape.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 转义HTML字符串,替换&, <, >, ", ', \`字符
|
||||
* @param str 字符串
|
||||
*/
|
||||
export declare function escape(str: string): string;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
escape: typeof escape;
|
||||
}
|
||||
}
|
||||
|
||||
export default escape
|
||||
Reference in New Issue
Block a user