Skip to content

Commit

Permalink
fix(f.narrow): higher order function support
Browse files Browse the repository at this point in the history
  • Loading branch information
millsp committed Mar 4, 2021
1 parent 855855e commit dad05ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/Function/Narrow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {Narrowable} from './_Internal'
* @hidden
*/
type NarrowRaw<A> =
| A
| (A extends Narrowable ? A : never)
| ({[K in keyof A]: NarrowRaw<A[K]>})

Expand Down

0 comments on commit dad05ee

Please sign in to comment.