Closed bkonkle closed 5 years ago
Changes the type signature of Maybe.prop from:
Maybe.prop
prop = <B extends A[keyof A]>(key: keyof A) => Maybe<B>
To:
prop = <P extends keyof A>(key: P) => Maybe<A[P]>
This fixes the types on prop to make them more automatic, but breaks existing usages.
prop
Changes the type signature of
Maybe.prop
from:To:
This fixes the types on
prop
to make them more automatic, but breaks existing usages.