You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!!
The text was updated successfully, but these errors were encountered:
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 usingindex.ts
(orindex.js
for 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!!
The text was updated successfully, but these errors were encountered: