File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export type OperationChangesMetadata = {
4848 previousOperationMetadata ?: OperationChangesMetadata
4949} & Partial < RestChangesMetadata > & Partial < GraphQLChangesMetadata >
5050
51- export interface OperationChanges < T extends string | number | symbol = DiffType > {
51+ export interface OperationChanges < T extends DiffType | DiffTypeDto = DiffType > {
5252 operationId : string
5353 apiType : BuilderType
5454 apiKind ?: ApiKind
@@ -68,7 +68,7 @@ export interface OperationChangesDto extends Omit<OperationChanges<DiffTypeDto>,
6868 changes ?: ChangeMessage < DiffTypeDto > [ ]
6969}
7070
71- export interface VersionsComparison < T extends string | number | symbol = DiffType > {
71+ export interface VersionsComparison < T extends DiffType | DiffTypeDto = DiffType > {
7272 comparisonFileId ?: string
7373 packageId : PackageId
7474 version : VersionId
@@ -81,7 +81,7 @@ export interface VersionsComparison<T extends string | number | symbol = DiffTyp
8181 data ?: OperationChanges [ ]
8282}
8383
84- export interface VersionsComparisonDto < T extends string | number | symbol = DiffTypeDto > extends Omit < VersionsComparison < T > , 'data' > {
84+ export interface VersionsComparisonDto < T extends DiffType | DiffTypeDto = DiffTypeDto > extends Omit < VersionsComparison < T > , 'data' > {
8585 data ?: OperationChangesDto [ ]
8686}
8787
You can’t perform that action at this time.
0 commit comments