summaryrefslogtreecommitdiff
path: root/src/@types
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-03 22:21:47 +0900
committerGitHub <noreply@github.com>2019-02-03 22:21:47 +0900
commitceda3dd72a5b4ebe01500d0a5e76a58699c878bc (patch)
treeac0995f5c02a6ff581be110092cfe8c743a83a12 /src/@types
parentCreate new type definition for 'is-url' (#4013) (diff)
downloadsharkey-ceda3dd72a5b4ebe01500d0a5e76a58699c878bc.tar.gz
sharkey-ceda3dd72a5b4ebe01500d0a5e76a58699c878bc.tar.bz2
sharkey-ceda3dd72a5b4ebe01500d0a5e76a58699c878bc.zip
Create new type definition for 'escape-regexp' (#4058)
Diffstat (limited to 'src/@types')
-rw-r--r--src/@types/escape-regexp.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/@types/escape-regexp.d.ts b/src/@types/escape-regexp.d.ts
new file mode 100644
index 0000000000..d68e6048a1
--- /dev/null
+++ b/src/@types/escape-regexp.d.ts
@@ -0,0 +1,7 @@
+declare module 'escape-regexp' {
+ function escapeRegExp(str: string): string;
+
+ namespace escapeRegExp {} // Hack
+
+ export = escapeRegExp;
+}