File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ import {
2929 PackageNotifications ,
3030 PackageOperation ,
3131 PackageOperations ,
32- VersionDocument , VersionsComparisonDto , BuildResult ,
32+ VersionDocument ,
33+ BuildResult ,
3334} from '../types'
3435import { unknownApiBuilder } from '../apitypes'
3536import { MESSAGE_SEVERITY , PACKAGE } from '../consts'
@@ -57,7 +58,7 @@ export const createVersionPackage = async (
5758 }
5859 const buildResultDto : BuildResultDto = {
5960 ...buildResult ,
60- comparisons : buildResult . comparisons . map ( comparison => toVersionsComparisonDto ( comparison , logError ) ) as VersionsComparisonDto [ ] ,
61+ comparisons : buildResult . comparisons . map ( comparison => toVersionsComparisonDto ( comparison , logError ) ) ,
6162 }
6263
6364 await createInfoFile ( zip , buildResultDto . config )
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export interface VersionsComparison<T extends DiffType | DiffTypeDto = DiffType>
8181 data ?: OperationChanges [ ]
8282}
8383
84- export interface VersionsComparisonDto < T extends DiffType | DiffTypeDto = DiffTypeDto > extends Omit < VersionsComparison < T > , 'data' > {
84+ export interface VersionsComparisonDto extends Omit < VersionsComparison < DiffTypeDto > , 'data' > {
8585 data ?: OperationChangesDto [ ]
8686}
8787
You can’t perform that action at this time.
0 commit comments