build: enable TSLint on the packages folder (#18459)
porting PRs #18392 and #18441 to 4.x
This commit is contained in:
@ -1790,7 +1790,7 @@ export function main() {
|
||||
class Cmp {
|
||||
exp: string;
|
||||
log: any[] = [];
|
||||
callback = (event: any) => { this.log.push(`${event.phaseName} => ${event.toState}`); }
|
||||
callback = (event: any) => this.log.push(`${event.phaseName} => ${event.toState}`);
|
||||
}
|
||||
|
||||
TestBed.configureTestingModule({
|
||||
|
@ -35,7 +35,7 @@ export function main() {
|
||||
return () => {
|
||||
const initStatus = injector.get(ApplicationInitStatus);
|
||||
initStatus.donePromise.then(() => { expect(completerResolver).toBe(true); });
|
||||
}
|
||||
};
|
||||
};
|
||||
promise = new Promise((res) => { resolve = res; });
|
||||
TestBed.configureTestingModule({
|
||||
|
@ -1353,7 +1353,7 @@ export function main() {
|
||||
tpl: TemplateRef<any>;
|
||||
|
||||
@Input()
|
||||
outerTpl: TemplateRef<any>
|
||||
outerTpl: TemplateRef<any>;
|
||||
|
||||
constructor(public cdRef: ChangeDetectorRef) {}
|
||||
log(id: string) { log.push(`inner-${id}`); }
|
||||
|
Reference in New Issue
Block a user