Skip to content

Tsconfig lib version in react, solid and is 2020 #19621

@nilsingwersen

Description

@nilsingwersen

Description

Currently in the create-vite template for react, solid and vanilla the lib and target is set to 2020 which is 5 years ago. To use featues like Array.prototype.at lib must be set to atleast 2022.

Svelte for example is set to 2023. Could react and solid be set to 2023 aswell?

Suggested solution

In the create-vite react, solid and vanilla packages in the tsconfig set lib to 2023

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions