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
@@ -170,7 +170,7 @@ export class CodeComponent implements OnChanges {
|
||||
}
|
||||
}
|
||||
|
||||
function leftAlign(text) {
|
||||
function leftAlign(text: string) {
|
||||
let indent = Number.MAX_VALUE;
|
||||
const lines = text.split('\n');
|
||||
lines.forEach(line => {
|
||||
|
||||
Reference in New Issue
Block a user