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