diff --git a/npm/ng-packs/packages/schematics/src/utils/model.ts b/npm/ng-packs/packages/schematics/src/utils/model.ts index 58e6e79d0a..3c688fc7eb 100644 --- a/npm/ng-packs/packages/schematics/src/utils/model.ts +++ b/npm/ng-packs/packages/schematics/src/utils/model.ts @@ -133,7 +133,13 @@ export function createImportRefToInterfaceReducerCreator(params: ModelGeneratorP prop.refs.forEach(type => !types[type]?.isEnum && refs.push(type)); return refs; }, []) - .concat(base || []) + .concat( + base + ? parseGenerics(typeDef.baseType!) + .toGenerics() + .join('') + : [], + ) .reduce(reduceRefsToInterfaces, interfaces); } }