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