I'm trying to use module: module.id
in my Angular 2 Components to use relative paths in the components. I referenced this article here and want to use the CommonJS option.
I have also checked other Stack Overflow questions, like this one, and followed its instructions by installing the node typings.
After doing all that, I believe it's working, seeing as how the app loads in the browser and works as expected, but my gulp project shows an error of:
error: TS2304: Cannot find name 'module'.
I'm not sure why the error pops up in gulp but the app still loads. Does anyone have any ideas as to why this would happen? Is there something I can do to let gulp know so the error doesn't show up in the build process?