We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consuming iascable in ascent and getting the following error
iascable
src/helpers/services.helper.ts:119:36 - error TS2339: Property 'categories' does not exist on type 'Catalog'. 119 const cats: CatExt[] = catalog.categories; ~~~~~~~~~~ src/helpers/services.helper.ts:355:17 - error TS2339: Property 'categories' does not exist on type 'Catalog'. 355 catalog.categories.forEach(category => { ~~~~~~~~~~ src/helpers/services.helper.ts:355:36 - error TS7006: Parameter 'category' implicitly has an 'any' type. 355 catalog.categories.forEach(category => { ~~~~~~~~ src/helpers/services.helper.ts:356:61 - error TS7006: Parameter 'module' implicitly has an 'any' type. 356 if (category.modules) category.modules.forEach((module) => {
The fix seems to be 👍🏻
export interface CatalogV2Model extends CustomResourceDefinition { modules: Module[]; providers?: CatalogProviderModel[]; aliases?: ModuleIdAlias[]; boms: BillOfMaterialEntry[]; categories: CatalogCategoryModel[]; }
catagories
categories: CatalogCategoryModel[];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consuming
iascable
in ascent and getting the following errorThe fix seems to be 👍🏻
catagories
to Catalog modelcategories: CatalogCategoryModel[];
The text was updated successfully, but these errors were encountered: