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