Browse Source

Merge pull request #21953 from abpframework/auto-merge/rel-9-1/3415

Merge branch dev with rel-9.1
pull/21956/head
maliming 2 years ago
committed by GitHub
parent
commit
e99ddf6fe0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      npm/ng-packs/packages/schematics/src/utils/model.ts

2
npm/ng-packs/packages/schematics/src/utils/model.ts

@ -182,7 +182,7 @@ export function createRefToImportReducerCreator(params: ModelGeneratorParams) {
}
function isOptionalProperty(prop: PropertyDef) {
return prop.typeSimple.endsWith('?') || (prop.typeSimple === 'string' && !prop.isRequired);
return prop.typeSimple.endsWith('?') || !prop.isRequired;
}
export function parseBaseTypeWithGenericTypes(type: string): string[] {

Loading…
Cancel
Save