Skip to content

chore: update TS lib+target to ES2021#399

Open
slagiewka wants to merge 1 commit intoapollographql:mainfrom
slagiewka:es_target
Open

chore: update TS lib+target to ES2021#399
slagiewka wants to merge 1 commit intoapollographql:mainfrom
slagiewka:es_target

Conversation

@slagiewka
Copy link
Copy Markdown

Since the project requires node 16.14+ this can be used. It affects the output where the newer syntax can now be used.

Technically, node 16.14 could have ES2022 enabled, but it's likely not required at this time.

This is pretty much the same as the template change1.

Change of the output is cosmetic, will be much nicer to read while debugging etc.
image

Footnotes

  1. https://github.com/apollographql/typescript-repo-template/commit/c83393b0f6e8df2011ea4b9cda5607ad07f848e5

Since the project requires node 16.14+ this can be used. It affects the
output where the newer syntax can now be used.

Technically, node 16.14 could have ES2022 enabled, but it's likely not
required at this time.

This is pretty much the same as the template change[^1].

[^1]:apollographql/typescript-repo-template@c83393b
@slagiewka slagiewka requested a review from a team as a code owner February 2, 2025 18:57
@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Feb 2, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

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.

1 participant