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