Skip to content

Commit 3310eb8

Browse files
author
Iurii Golovinskii
committed
[FE] delete type from export SEMI_BREAKING_CHANGE_TYPE
1 parent 8e34048 commit 3310eb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/transformToDto.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ export function convertDtoFieldOperationTypes<
168168
origin,
169169
override,
170170
}: OptionDiffReplacer = { origin: SEMI_BREAKING_CHANGE_TYPE, override: risky }): OperationType<J>[] {
171+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
172+
// @ts-ignore
171173
return operationTypes?.map((type) => {
174+
if(!type.changesSummary || !type.changesSummary ) return type
172175
return {
173176
...type,
174177
changesSummary: replacePropertyInChangesSummary<T, J>(type.changesSummary, {

0 commit comments

Comments
 (0)