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
*/
import { XmlElement } from 'yjs'
import {
YXmlEvent,
YXmlElement,
@ -222,7 +221,7 @@ export class YXmlFragment extends AbstractType {
return true
}
if (filters.attributes && element instanceof XmlElement) {
if (filters.attributes && element instanceof YXmlElement) {
const attributes = element.getAttributes()
const keys = Object.keys(filters.attributes)