mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fixes #34931
This essentially reapplies #24436 which incorrectly updated the generated files rather than the sources, and so was wiped out by 2f73986b44.
Note that this is specifically _not_ the same as #4002, which pertains to the global functions that coerce their arguments and therefore should _not_ accept `unknown`. This change was already accepted 18 months ago, but was applied incorrectly.
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.