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