mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* chore: enbale ts-check on babel-types scripts * polish: make Validator distributive * fix: chainOf should not rely on the ["any"] return * suppress Babel 8 typing errors * chore: add scripts to babel-types ts project * migrate babel-types scripts to TS * refactor: replace toFunctionName by formatBuilderName * Update packages/babel-types/scripts/generators/ast-types.ts * misc cleanup * remove JSDoc param type definitions
10 lines
503 B
TypeScript
10 lines
503 B
TypeScript
// 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 {}
|