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

Update to TypeScript 3.7 #3275

Merged
merged 1 commit into from Nov 13, 2019
Merged

Update to TypeScript 3.7 #3275

merged 1 commit into from Nov 13, 2019

Conversation

kitsonk
Copy link
Contributor

@kitsonk kitsonk commented Nov 6, 2019

Also, update assert() and remove not null assertions where possibly in cli. Lots of the not null assertions need to be removed in std though.

Closes #3273

@kitsonk
Copy link
Contributor Author

kitsonk commented Nov 6, 2019

BAH! It appears prettier doesn't support the TypeScript 3.7 syntax features. It is fixed in master of prettier, but they haven't released it yet.

@kitsonk
Copy link
Contributor Author

kitsonk commented Nov 6, 2019

It looks like prettier 1.19 is imminent which should include all the 3.7 syntax fixes, so I guess we should hold off on this until that is released.

@zekth
Copy link
Contributor

zekth commented Nov 7, 2019

Could you raise an issue for the problematic asserts in std?

@axetroy
Copy link
Contributor

axetroy commented Nov 9, 2019

It looks like prettier 1.19 is imminent which should include all the 3.7 syntax fixes, so I guess we should hold off on this until that is released.

Prettier@1.19.0 has been released now.

@axetroy axetroy mentioned this pull request Nov 9, 2019
@kitsonk
Copy link
Contributor Author

kitsonk commented Nov 9, 2019

Ok this now includes prettier 1.19 in third_party/node_modules as well as re-lints the codebase. There was a bit of churn with this version of prettier, but mainly it was fixing some bugs that were there, so it ends up with better formatted code.

If it passes it CI it should be ready to go @ry

@kitsonk
Copy link
Contributor Author

kitsonk commented Nov 13, 2019

@ry ok, I think I have fixed everything and this PR is ready now

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM - thank you @kitsonk !

Update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland#3273
@ry ry merged commit 9837d32 into denoland:master Nov 13, 2019
ry added a commit to ry/deno that referenced this pull request Nov 13, 2019
piscisaureus pushed a commit that referenced this pull request Nov 13, 2019
bartlomieju pushed a commit to bartlomieju/deno that referenced this pull request Dec 28, 2019
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland#3273
bartlomieju pushed a commit to bartlomieju/deno that referenced this pull request Dec 28, 2019
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 21, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Feb 1, 2021
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
@kitsonk kitsonk deleted the ts_37 branch August 2, 2022 04:45
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.

Update to TypeScript 3.7
4 participants