Skip to content

Commit

Permalink
fix(core): relax addTypeConverter return to include undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Chau Tran authored and Chau Tran committed Jan 11, 2022
1 parent cb27b1a commit 20c250c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/lib/types/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ export interface Mapper {
converter:
| Selector<
PrimitiveConstructorReturnType<TSourceType>,
PrimitiveConstructorReturnType<TDestinationType>
PrimitiveConstructorReturnType<TDestinationType> | undefined
>
| Converter<
PrimitiveConstructorReturnType<TSourceType>,
PrimitiveConstructorReturnType<TDestinationType>
PrimitiveConstructorReturnType<TDestinationType> | undefined
>
): Mapper;

Expand Down

0 comments on commit 20c250c

Please sign in to comment.