Importing awaited-dom breaks default libraries
blakebyrnes opened this issue · comments
Blake Byrnes commented
from discord:
importing the interfaces like:
import type { ISuperElement, ISuperHTMLCollection, ISuperNodeList } from '@ulixee/awaited-dom/base/interfaces/super';
messes up all typescript files in a project because of the triple slash directive . it prevents then from using the default libs
Blake Byrnes commented
Workaround appears to be to use these declarations in own files.
/// <reference lib="esnext" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />
Blake Byrnes commented
This should be fixed in latest commit