use global namespace
This commit is contained in:
@@ -88,8 +88,10 @@ const Highlight = Mark.create({
|
||||
|
||||
export default Highlight
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Highlight: typeof Highlight,
|
||||
declare global {
|
||||
namespace Tiptap {
|
||||
interface AllExtensions {
|
||||
Highlight: typeof Highlight,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user