forked from babel/babel
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal libdom for @babel/standalone
- Loading branch information
1 parent
2083566
commit 8e55b8c
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// 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 | ||
// tscondif.dts-bundles.json because we don't want other .d.ts files to | ||
// accidenally rely on DOM features. | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
declare interface HTMLCollectionOf<T> {} | ||
declare interface HTMLScriptElement {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters