fix: auth typings and reduced type ambiguity#4562
Conversation
|
This should have been part of a major version bump as the type changes are breaking in some scenarios. For example when extracting a header value; that used to be |
|
@fjeldstad we already answered that in #4563. Breaking types is inherent to the typesrcipt ecosystem, nobody releases a major version just for types correctness. |
FYI, some projects do try to do that by eg. adhering to the proposed semver-ts spec. However, even with that, changes in minor releases can cause type compilation issues! As they state (paraphrased):
As such, for typescript development, one must expect that any typings update can potentially cause "breakage". |
MergeTypeutility that broke auth Possible typing regression between v21.3.12 and v21.4.4 #4561