aboutsummaryrefslogtreecommitdiff
path: root/node_modules/char-regex/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/char-regex/index.d.ts')
-rw-r--r--node_modules/char-regex/index.d.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/node_modules/char-regex/index.d.ts b/node_modules/char-regex/index.d.ts
new file mode 100644
index 0000000..17defa2
--- /dev/null
+++ b/node_modules/char-regex/index.d.ts
@@ -0,0 +1,13 @@
+/**
+ * A regex to match any full character, considering weird character ranges.
+ * @example
+ * ```
+ * const charRegex = require("char-regex");
+ *
+ * "❤️👊🏽".match(charRegex());
+ * //=> ["❤️", "👊🏽"]
+ * ```
+*/
+declare function charRegex(): RegExp
+
+export = charRegex