Skip to content

Commit

Permalink
fix(core): add non-null assertion to mapMemberFn[misc] when transform…
Browse files Browse the repository at this point in the history
…ation type is MapFrom/MapWith
  • Loading branch information
nartc committed Mar 14, 2021
1 parent 0732d0a commit 746e94e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function createMapForMember<
mapMemberFn[MapFnClassId.type] === TransformationType.MapWith) &&
mapMemberFn[MapFnClassId.misc] != null
) {
sourcePath = getMemberPath(mapMemberFn[MapFnClassId.misc]);
sourcePath = getMemberPath(mapMemberFn[MapFnClassId.misc]!);
}

// initialize MappingProperty
Expand Down

0 comments on commit 746e94e

Please sign in to comment.