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