Seeking guidance on the code snippet I'm currently studying. I am implementing a TypeScript 1.8.10 compiler along with EM5:
module myAmazingModule{
'use strict';
export interface INavigateService {
links: string[],
getLinks(): void
}
class Test implements INavigateService {
links:string[] = [];
getLinks(): void {
links.push("hello world"); //ERROR unable to find name links
}
}