Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #2388: allow consuming types without dom types
Currently the TypeScript types for esbuild depend on the DOM types. However, esbuild itself does not depend on the DOM. This change uses type augmentation to make the type error go away, while keeping backwards support for use with the DOM types. Closes #2388
- Loading branch information