ulixee / unblocked

A suite of tools for protecting the web's open knowledge.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing awaited-dom breaks default libraries

blakebyrnes opened this issue · comments

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

Workaround appears to be to use these declarations in own files.

/// <reference lib="esnext" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />

This should be fixed in latest commit