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

chore(deps): upgrade typescript to 3.9 #366

Merged
merged 4 commits into from
Jun 23, 2020
Merged

chore(deps): upgrade typescript to 3.9 #366

merged 4 commits into from
Jun 23, 2020

Conversation

kevinmarrec
Copy link
Contributor

@kevinmarrec kevinmarrec commented May 25, 2020

Draft PR until TypeScript 3.9 is more stable with Vue.js

I've succeed to get bunch of TS errors while trying to upgrade a big project to 3.9 :

image

image

image


Will close #357

@kevinmarrec kevinmarrec added the dependencies Pull requests that update a dependency file label May 25, 2020
@kevinmarrec kevinmarrec self-assigned this May 25, 2020
@codecov
Copy link

codecov bot commented May 25, 2020

Codecov Report

Merging #366 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #366   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           31        31           
  Branches         8         8           
=========================================
  Hits            31        31           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1eb232a...ff08de3. Read the comment docs.

@kevinmarrec
Copy link
Contributor Author

Sounds like my issues was mostly caused by https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#intersections-reduced-by-discriminant-properties

I succeeded to fixed my types on my project and have it working with TypeScript 3.9.5

@kevinmarrec kevinmarrec marked this pull request as ready for review June 23, 2020 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript 3.9 support
1 participant