fix: Remove automatic import

This commit is contained in:
Tom Moor 2020-10-09 17:42:16 -07:00
parent d24ca50d4c
commit ccc32617d9

View File

@ -2,7 +2,6 @@
* @module YXml * @module YXml
*/ */
import { XmlElement } from 'yjs'
import { import {
YXmlEvent, YXmlEvent,
YXmlElement, YXmlElement,
@ -222,7 +221,7 @@ export class YXmlFragment extends AbstractType {
return true return true
} }
if (filters.attributes && element instanceof XmlElement) { if (filters.attributes && element instanceof YXmlElement) {
const attributes = element.getAttributes() const attributes = element.getAttributes()
const keys = Object.keys(filters.attributes) const keys = Object.keys(filters.attributes)