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
refactor(core): replace public any types with unknown (#21249)
- Replace the remaining `TODO: fix in v11` public `any` types in core
type definitions with `unknown` or `Record<string, unknown>`.
- Type `isInstanceOf` around `unknown` inputs while keeping the existing
invalid-constructor guard behavior.
- Remove now-unnecessary `Error` assertions in aggregate error handling
after the stricter type guard narrowing.
Fixes#18570
Co-authored-by: isaacs <i@izs.me>
0 commit comments