diff --git a/src/types.ts b/src/types.ts index cf84e83d..ac5f81fd 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -export type Prefer = P & Omit; +export type Prefer = P & T; // https://stackoverflow.com/questions/50374908/transform-union-type-to-intersection-type/50375286#50375286 export type UnionToIntersection = (U extends any