Skip to content

Upgrade to TypeScript 3.0#16907

Merged
tomdale merged 2 commits intomasterfrom
upgrade-typescript-3-0
Aug 23, 2018
Merged

Upgrade to TypeScript 3.0#16907
tomdale merged 2 commits intomasterfrom
upgrade-typescript-3-0

Conversation

@tomdale
Copy link
Copy Markdown
Member

@tomdale tomdale commented Aug 23, 2018

This PR upgrades broccoli-typescript-compiler to 4.0.1, which also upgrades the version of TypeScript to 3.0.

There was only one small breaking change, which is that TypeScript 2.9 changed keyof types to now include numbers and symbols in addition to strings. I updated these call signatures to extract just keys of type string to maintain the previous behavior.

@tomdale tomdale requested review from krisselden and rwjblue August 23, 2018 16:47
Copy link
Copy Markdown
Contributor

@krisselden krisselden left a comment

Choose a reason for hiding this comment

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

looks good, I think we should move Opaque to unknown but that can be separate, also, anything that uses any | undefined | null should be {} | undefined | null or object | undefined | null as any is now really any,

@tomdale tomdale merged commit be60a70 into master Aug 23, 2018
@tomdale tomdale deleted the upgrade-typescript-3-0 branch August 23, 2018 21:36
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.

2 participants