Having trouble with TypeScript and ng2 rc.1 - getting Error:(20, 15) TS2304: Cannot find name 'module'.
I encountered this issue when trying to use a directive of the module in my code:
@Component({
selector: 'Notes1',
moduleId: module.id,
directives: [ModalDialog, FORM_DIRECTIVES, DisplayError],
templateUrl: 'Notes1.html',
styleUrls: ['Notes1.css']
})
Any suggestions on how to resolve this TypeScript error? Everything seems to be working fine during runtime.
Thanks,
Sean