summaryrefslogtreecommitdiff
path: root/source/globals.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/globals.d.ts')
-rw-r--r--source/globals.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/globals.d.ts b/source/globals.d.ts
index a1b757e2..8520f368 100644
--- a/source/globals.d.ts
+++ b/source/globals.d.ts
@@ -1,5 +1,11 @@
type AnyObject = Record<string, any>;
+// TODO: Drop after https://github.com/sindresorhus/p-memoize/issues/9
+declare module 'mem' {
+ function mem<T = VoidFunction>(fn: T): T;
+ export = mem;
+}
+
// TODO: Drop when Firefox adds RegEx lookbehind support
// https://github.com/sindresorhus/refined-github/pull/1936#discussion_r276515991
declare module 'linkify-urls' {