lukeed / ley

(WIP) Driver-agnostic database migrations
MIT License
259 stars 14 forks source link

fix(types): parenthesize function in `Resolver` type union #19

Closed ryanatkn closed 3 years ago

ryanatkn commented 3 years ago

Fixes a type error where functions in type unions must be parenthesized, after some breaking TS change I can't quickly track down. (somewhere in 3.x I think)