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

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