Browse Source

Merge pull request #7236 from abpframework/fix/7235

Limited characters allowed before System when parsing types during proxy generation
pull/7238/head
Levent Arman Özak 5 years ago
committed by GitHub
parent
commit
f72dfbad3e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/ng-packs/packages/schematics/src/utils/type.ts

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

@ -9,7 +9,7 @@ import { parseGenerics } from './tree';
export function createTypeSimplifier() {
const parseType = createTypeParser(t => {
let type = t.replace(
/System\.([0-9A-Za-z.]+)/g,
/(?<![^<, ])System\.([0-9A-Za-z.]+)/g,
(_, match) => SYSTEM_TYPES.get(match) ?? 'any',
);

Loading…
Cancel
Save