Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public toString() {
return RemirrorClassName.Extension;
}
}
export const isExtension = (extension: unknown): extension is AnyExtension =>
isObject(extension) && extension.toString() === RemirrorClassName.Extension;