fix(tsc-wrapped): ignore |null
and |undefined
when collecting types (#16222)
This commit is contained in:
@ -191,7 +191,6 @@ export class StaticReflector implements CompileReflector {
|
||||
if (paramType) nestedResult.push(paramType);
|
||||
const decorators = parameterDecorators ? parameterDecorators[index] : null;
|
||||
if (decorators) {
|
||||
if (paramType) nestedResult.push(paramType);
|
||||
nestedResult.push(...decorators);
|
||||
}
|
||||
parameters !.push(nestedResult);
|
||||
|
Reference in New Issue
Block a user