Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@schematics/angular): e2e test fails strict TS config
If using `strictFunctionTypes: true` in `tsconfig.json`, the default e2e test is failing compilation with: ``` error TS2345: Argument of type 'ObjectContaining<{ level: Level; }>' is not assignable to parameter of type 'Expected<Entry>'. Type 'ObjectContaining<{ level: Level; }>' is not assignable to type 'ObjectContaining<Entry>'. Type 'Partial<{ level: Level; }>' is not assignable to type 'Partial<Entry>'. Type '{ level: Level; }' is not assignable to type 'Entry'. ``` Explictely using `as logging.Entry` fixes the issue.
- Loading branch information