Having error TS2304 during typescript build for all the references of module.id
in all of my components definitions. Definition looks like this:
@Component({
selector: 'sd-app',
=> moduleId: module.id,
templateUrl: './app.component.html',
directives: [ROUTER_DIRECTIVES, NavbarComponent, FooterComponent],
providers: [AuthService]
})
Here is the error:
app\components\app.component.ts(15,15): error TS2304: Cannot find name 'module'.
Compilation completes and application works fine though.
Any idea how to get rid of this error?