Open
Description
I'm getting the following Intellisense error when using require('emoji-regex')
This expression is not callable.
Type 'typeof import("emoji-regex")' has no call signatures.ts(2349)
Some context for how I'm using this:
const emojiRegex = require('emoji-regex');
...
const sanitizedText = text.replace(emojiRegex(), '');
This package works fine this way when actually being used. It just always shows this Typescript error.
Metadata
Metadata
Assignees
Labels
No labels