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