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