We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.ts
1 parent a0dba08 commit bdf2e75Copy full SHA for bdf2e75
blueprints/component/index.js
@@ -231,7 +231,7 @@ module.exports = {
231
232
normalizeEntityName(entityName) {
233
return normalizeEntityName(
234
- entityName.replace(/\.js$/, '') //Prevent generation of ".js.js" files
+ entityName.replace(/\.(js|ts)$/, '') //Prevent generation of ".js.js" and ".ts.ts" files
235
);
236
},
237
0 commit comments