Skip to content

Commit

Permalink
rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
woltsu committed Mar 14, 2024
1 parent 36c7d52 commit 3d21af9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/typeHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ type RecursiveGet<Obj, Properties> = Properties extends [
: undefined
: Obj;

// We have seen `As` in Chapter 6. It
// forces typescript to consider that
// the first type parameter is a subtype
// of the second.
type As<A, B> = A extends B ? A : never;

export type ObjectKeyPaths<T> =
Expand Down

0 comments on commit 3d21af9

Please sign in to comment.