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
Upgrade to typescript 3.5.1 #6440
Conversation
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
Uh oh, the Windows JS build succeeded but actually had the same error as above... |
We are running into problems where we have the following pattern: interface IMy {
a: number;
b: string;
c: boolean;
}
let x: IMy = {
a: 5,
b: 'hello',
c: true
};
Object.keys(x).forEach((k: keyof IMy) => {
x[k] = 'a';
}); That assignment I think this is related to https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#fixes-to-unsound-writes-to-indexed-access-types |
Looks like the test failure is something to be fixed in ts-loader: TypeStrong/ts-loader#939, TypeStrong/ts-loader#942 |
I'd say wait for the patch release of ts-loader since it looks to be imminent. |
Yep, I was on the fence about changing this vs waiting for a ts-loader release. At least we'll see if there are any other issues. |
This was causing some tests to fail with the ts 3.5.1 upgrade.
Looks like the updated ts-loader made all of our tests happy now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Thanks @vidartf and @blink1073 for the reviews. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related discussion. |
References
Code changes
Upgrade to Typescript 3.5.1
User-facing changes
Backwards-incompatible changes
None, other than our dependencies change.