mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
Previously subtypes of Error extended Error, but the matching subtypes of ErrorConstructor did not extend ErrorConstructor. The members in es5.d.ts are identical, so there's no need except for allowing interface merging into ErrorConstructor to affect subtypes as well.
Read this!
The files within this directory are used to generate lib.d.ts and lib.es6.d.ts.
Generated files
Any files ending in .generated.d.ts aren't meant to be edited by hand.
If you need to make changes to such files, make a change to the input files for our library generator.