typedef downleveling to use with typesVersions #28797
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Search Terms
typedef
downleveling
typesVersions
Suggestion
@RyanCavanaugh mentioned in #22605 (comment) regarding the
typesVersion
feature for typedef files that he "would expect these files to be either hand-created, or generated through some downleveling process". I think it'd be a great addition if the compiler would optionally emit the typedef files for any versions specified. I really don't want to manage my typedef files by hand. 🙂Use Cases
Examples
For example, using
tsc --build --downlevel-version 2.8
with typescript 3.1 would emit something like this dir structureChecklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: