message: test(ivy): ngcc - tighten up typings in Esm5ReflectionHost specs
  PR Close
diff: import * as ts from 'typescript';
  -import {ClassMemberKind, Decorator, Import, isNamedClassDeclaration, isNamedFunctionDeclaration, isNamedVariableDeclaration} from '../../../src/ngtsc/reflection';
  +import {ClassMemberKind, CtorParameter, Decorator, Import, isNamedClassDeclaration, isNamedFunctionDeclaration, isNamedVariableDeclaration} from '../../../src/ngtsc/reflection';
  import {Esm2015ReflectionHost} from '../../src/host/esm2015_host';
  import {Esm5ReflectionHost, getIifeBody} from '../../src/host/esm5_host';
  import {MockLogger} from '../helpers/mock_logger';
  @@ -1184,7 +1184,7 @@ describe('Esm5ReflectionHost', () => {
  const parameters = host.getConstructorParameters(classNode);
  expect(parameters !.length).toBe(1);
  - expect(parameters ![0]).toEqual(jasmine.objectContaining({
  + expect(parameters ![0]).toEqual(jasmine.objectContaining<CtorParameter>({
  name: 'arg1',
  decorators: null,
  }));
  @@ -1200,11 +1200,11 @@ describe('Esm5ReflectionHost', () => {
  const parameters = host.getConstructorParameters(classNode);
  expect(parameters !.length).toBe(2);
  - expect(parameters ![0]).toEqual(jasmine.objectContaining({
  + expect(parameters ![0]).toEqual(jasmine.objectContaining<CtorParameter>({
  name: 'arg1',
  decorators: null,
  }));
  - expect(parameters ![1]).toEqual(jasmine.objectContaining({
  + expect(parameters ![1]).toEqual(jasmine.objectContaining<CtorParameter>({
  name: 'arg2',
  decorators: jasmine.any(Array) as any
  }));
  