You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, not sure what an elegant solution would be, but I'm finding that I cannot do mapValues(group(...)) because mapValues demands a Record<Key, Value> whereas group() returns a Partial<Record<Key, Value>>. maybe the mapValues() function type signature can be broadened a bit to allow for partial records?
Hello, not sure what an elegant solution would be, but I'm finding that I cannot do
mapValues(group(...))
becausemapValues
demands aRecord<Key, Value>
whereasgroup()
returns aPartial<Record<Key, Value>>
. maybe themapValues()
function type signature can be broadened a bit to allow for partial records?https://www.typescriptlang.org/play?noUncheckedIndexedAccess=true&allowUnreachableCode=true&allowUnusedLabels=true&noUnusedLocals=true&noUnusedParameters=true&exactOptionalPropertyTypes=true&noFallthroughCasesInSwitch=true&noImplicitOverride=true&noPropertyAccessFromIndexSignature=true&useUnknownInCatchVariables=true&suppressImplicitAnyIndexErrors=true&allowSyntheticDefaultImports=true#code/JYWwDg9gTgLgBAbzgcyhArmANHEBDMANTwBt0BTAZzgF84AzNEOAIijwBM9KALFgbgBQgmAE8w5OMTKSAvKzws4AH1YAjJapYBjFoO0QAdpXgA3UhUoAuKRfIBtALpx5T-UZNwwabVUrkOaUsXXAIgqgAKVAwwCPMZShxTFwA+OFMASiS7VLgAAwAJYDgAEgR4iho8jP4gA
The text was updated successfully, but these errors were encountered: