Create new type definition for 'escape-regexp' (#4058)
This commit is contained in:
committed by
GitHub
parent
014b58cb40
commit
ceda3dd72a
7
src/@types/escape-regexp.d.ts
vendored
Normal file
7
src/@types/escape-regexp.d.ts
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
declare module 'escape-regexp' {
|
||||
function escapeRegExp(str: string): string;
|
||||
|
||||
namespace escapeRegExp {} // Hack
|
||||
|
||||
export = escapeRegExp;
|
||||
}
|
Reference in New Issue
Block a user