mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #63345 Make Mustache.escape reassignable by @wfdewith
This commit is contained in:
2
types/mustache/index.d.ts
vendored
2
types/mustache/index.d.ts
vendored
@@ -324,7 +324,7 @@ export class Writer {
|
||||
* @param value
|
||||
* The value to escape into a string.
|
||||
*/
|
||||
export const escape: EscapeFunction;
|
||||
export let escape: EscapeFunction;
|
||||
|
||||
/**
|
||||
* Clears all cached templates in this writer.
|
||||
|
||||
@@ -49,3 +49,5 @@ Mustache.templateCache = {
|
||||
}
|
||||
|
||||
Mustache.tags = ['<%', '%>'];
|
||||
|
||||
Mustache.escape = (text: string) => text;
|
||||
|
||||
Reference in New Issue
Block a user