In the TypeScript styleguide, you mention that "Use index.ts for the module definition file, so you can import the module by directory name", but then go on to use componentName.module.ts as the module file name. Do you recommend using index.ts (or index.js for ES6+ projects) or componentName.module.ts/js?
I personally like index.js, but it's only mentioned in passing in the TS style guide and not at all in the JS style guide, so my guess is you'll respond to this by removing the reference to it in the TS guide.
Thanks!!
In the TypeScript styleguide, you mention that "Use index.ts for the module definition file, so you can import the module by directory name", but then go on to use
componentName.module.tsas the module file name. Do you recommend usingindex.ts(orindex.jsfor ES6+ projects) orcomponentName.module.ts/js?I personally like
index.js, but it's only mentioned in passing in the TS style guide and not at all in the JS style guide, so my guess is you'll respond to this by removing the reference to it in the TS guide.Thanks!!