fix types

This commit is contained in:
Philipp Kühn
2020-10-30 17:43:59 +01:00
parent a56f396e02
commit a71221d8df
2 changed files with 6 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ export default class ExtensionManager {
type: getSchemaTypeByName(extension.name, this.schema),
}
// @ts-ignore
const renderer = extension.addNodeView?.bind(context)?.() as NodeViewRenderer
const nodeview = (