Revert "use global namespace"
This reverts commit 24c3a9abd3.
# Conflicts:
# packages/core/src/Editor.ts
This commit is contained in:
@@ -46,10 +46,8 @@ const History = Extension.create({
|
||||
|
||||
export default History
|
||||
|
||||
declare global {
|
||||
namespace Tiptap {
|
||||
interface AllExtensions {
|
||||
History: typeof History,
|
||||
}
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
History: typeof History,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user