diff --git a/types/mustache/index.d.ts b/types/mustache/index.d.ts index 85fd9cae26..a97640635b 100644 --- a/types/mustache/index.d.ts +++ b/types/mustache/index.d.ts @@ -183,7 +183,7 @@ interface MustacheStatic { * @param value * The string to escape. */ - escape(value: string): string; + escape: (value: string) => string; /** * Clears all cached templates in this writer.