Revert "use global namespace"

This reverts commit 24c3a9abd3.

# Conflicts:
#	packages/core/src/Editor.ts
This commit is contained in:
Philipp Kühn
2020-11-16 16:58:30 +01:00
parent 0cee9fb3b7
commit 0c9ce26c02
39 changed files with 118 additions and 197 deletions

View File

@@ -65,10 +65,8 @@ const TextAlign = Extension.create({
export default TextAlign
declare global {
namespace Tiptap {
interface AllExtensions {
TextAlign: typeof TextAlign,
}
declare module '@tiptap/core' {
interface AllExtensions {
TextAlign: typeof TextAlign,
}
}