Skip to content

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
*
* @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.

* 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
Contributor

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.

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