Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downlevel readonly array & readonly tuple #28

Closed
wants to merge 1 commit into from

Conversation

Frezc
Copy link

@Frezc Frezc commented Mar 11, 2020

Related to #27.
Add some code for Compatibility of readonly array & readonly tuple before 3.4 .
It may be helpful.

@Frezc Frezc requested a review from sandersn as a code owner March 11, 2020 07:38
@sandersn
Copy link
Owner

sandersn commented Aug 3, 2020

Usage telemetry from VS and VS Code shows that usage of old versions of Typescript falls off pretty fast, so there's not too much value in supporting versions before 3.4. Do you have a specific package in mind that needs to support pre-3.4 typescripts?

If/when downlevel-dts gets a configurable target, as in #36, this would be worth adding.

@L2jLiga
Copy link
Contributor

L2jLiga commented Oct 27, 2020

Hi there, I think this one can be updated and merged since configurable target support was added 😀

@Frezc
Copy link
Author

Frezc commented Oct 28, 2020

But which version it target to? 3.3? And I don't know if there is any break changes else.

@L2jLiga
Copy link
Contributor

L2jLiga commented Oct 28, 2020

It targets to any below 3.4.0:

semver.lt(targetVersion, "3.4.0")

@Frezc
Copy link
Author

Frezc commented Oct 29, 2020

Updated.

Copy link
Contributor

@L2jLiga L2jLiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it!

@sandersn
Copy link
Owner

Is this still needed? If 3.3 usage was rare in 2020, it ought to be miniscule in 2022.

@sandersn sandersn closed this Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants