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:
Keen Yee Liau
2019-09-19 17:04:02 -07:00
committed by atscott
parent 9e7aa60ae7
commit 28358b6395
8 changed files with 70 additions and 44 deletions

View File

@ -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';
}