fix(aio): fix up typing errors in tests

The new version of Jasmine types identified issues with our unit tests.
This commit is contained in:
Peter Bacon Darwin
2017-05-18 11:41:19 +01:00
committed by Pete Bacon Darwin
parent faacbe4dac
commit 39f2977fa8
7 changed files with 24 additions and 19 deletions

View File

@ -87,7 +87,7 @@ describe('CodeExampleComponent', () => {
class TestCodeComponent {
@Input() code = '';
@Input() language: string;
@Input() linenums: boolean | number;
@Input() linenums: string;
@Input() path: string;
@Input() region: string;
@Input() hideCopy: boolean;