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