Skip to content

Fix type Mark

Compare
Choose a tag to compare
@UpperCod UpperCod released this 09 Mar 02:04
· 29 commits to master since this release

This allows fixing the filter by instanceof a nidel of typescript types, example:

import { Mark } from "atomico";

Array.from(element.childNodes).filter(
    (el) => !(el instanceof Mark)
);