/
githubmirror
/
babel
Обзор
Документация
Войти
/
githubmirror
/
babel
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/libdom-minimal.d.ts
9 строк
503 B
Huáng Jùnliàng
Type checking babel-types scripts (#17494)
05 сен 2025, 19:12
Не верифицирован
05 сен 2025, 19:12
092d2e2
Код
Авторство
О чём код?
// Minimal version of lib.dom.d.ts. @babel/standalone needs these types // to be defined, but we don't want to load the full lib.dom.d.ts in // tsconfig.dts-bundles.json because we don't want other .d.ts files to // accidentally rely on DOM features. // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-object-type declare interface HTMLCollectionOf<T> {} // eslint-disable-next-line @typescript-eslint/no-empty-object-type declare interface HTMLScriptElement {}