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