style(aio): enforce strict TypeScript checks (#21342)
Closes #20646 PR Close #21342
This commit is contained in:

committed by
Alex Eagle

parent
246de65140
commit
c5c6d84fe6
@ -3,21 +3,21 @@ import { Injectable } from '@angular/core';
|
||||
@Injectable()
|
||||
export class MockLogger {
|
||||
|
||||
output = {
|
||||
output: { log: any[], error: any[], warn: any[] } = {
|
||||
log: [],
|
||||
error: [],
|
||||
warn: []
|
||||
};
|
||||
|
||||
log(value: any, ...rest) {
|
||||
log(value: any, ...rest: any[]) {
|
||||
this.output.log.push([value, ...rest]);
|
||||
}
|
||||
|
||||
error(value: any, ...rest) {
|
||||
error(value: any, ...rest: any[]) {
|
||||
this.output.error.push([value, ...rest]);
|
||||
}
|
||||
|
||||
warn(value: any, ...rest) {
|
||||
warn(value: any, ...rest: any[]) {
|
||||
this.output.warn.push([value, ...rest]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user