fix(nx-dev): resolve type interface conflicts (#14611)

This commit is contained in:
Benjamin Cabanes 2023-01-25 10:38:33 -05:00 committed by GitHub
parent 7b1ed8e4b4
commit 9d1969e91f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ export function getSchemaViewModel(
); );
}, },
hidden: schema.hidden, hidden: schema.hidden,
deprecated: schema['x-deprecated'], deprecated: schema['x-deprecated'] || '',
type: schema.type, type: schema.type,
}; };
} }

View File

@ -76,7 +76,6 @@ export interface SchemaMetadata {
path: string; path: string;
schema: NxSchema | null; schema: NxSchema | null;
type: 'executor' | 'generator'; type: 'executor' | 'generator';
'x-deprecated'?: string; 'x-deprecated'?: string;
} }
@ -84,6 +83,7 @@ export interface NxSchema extends JsonSchema1 {
description: string; description: string;
examplesFile: string; examplesFile: string;
hidden: boolean; hidden: boolean;
presets: { name: string; keys: string[] }[];
} }
export type IntrinsicPackageMetadata = Omit< export type IntrinsicPackageMetadata = Omit<