fix(language-service): Turn on strict mode for test project (#32783)
This is the last part in refactoring of the test project. This PR turns on strict mode for typechecking and fixed tests that fail under this mode. PR Close #32783
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
|
||||
import {Component} from '@angular/core';
|
||||
|
||||
export class Hero {
|
||||
export interface Hero {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
@ -30,5 +30,5 @@ export class Hero {
|
||||
export class AppComponent {
|
||||
title = 'Tour of Heroes';
|
||||
hero: Hero = {id: 1, name: 'Windstorm'};
|
||||
private internal: string;
|
||||
private internal: string = 'internal';
|
||||
}
|
||||
|
Reference in New Issue
Block a user