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

deps: update to typescript 4.9.4 #14646

Merged
merged 3 commits into from
Jan 3, 2023
Merged

deps: update to typescript 4.9.4 #14646

merged 3 commits into from
Jan 3, 2023

Conversation

connorjclark
Copy link
Collaborator

Simple upgrade, I only fixed errors. Did not assess new features.

@connorjclark connorjclark requested a review from a team as a code owner January 3, 2023 22:49
@connorjclark connorjclark requested review from adamraine and removed request for a team January 3, 2023 22:49
@@ -120,7 +120,7 @@ const mergeConfigFragment = _mergeConfigFragment;
* Merge an array of items by a caller-defined key. `mergeConfigFragment` is used to merge any items
* with a matching key.
*
* @template T
* @template {Record<string, any>} T
* @param {Array<T>|null|undefined} baseArray
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

btw, the mergeConfigFragment has a comment about doing the typing in config.d.ts because jsodc does not support constraints. it does now (hence this change), but I didn't go further than fixing errors that cropped up.

@adamraine adamraine changed the title deps: update to tsc 3.9.4 deps: update to typescript 4.9.4 Jan 3, 2023
} else {
// Note: FF implements both window.onbeforeprint and media listeners. However,
// it doesn't matchMedia doesn't fire when matching 'print'.
self.matchMedia('print').addListener(mql => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

narrowing supposedly got better, because self at this point was never.

@@ -120,7 +120,7 @@ const mergeConfigFragment = _mergeConfigFragment;
* Merge an array of items by a caller-defined key. `mergeConfigFragment` is used to merge any items
* with a matching key.
*
* @template T
Copy link
Member

Choose a reason for hiding this comment

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

Could this be Record<string, unkown>?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not without further changes.

report/renderer/topbar-features.js Outdated Show resolved Hide resolved
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