Skip to content

Commit c992cd1

Browse files
committed
Remove .ts when generating .ts components
1 parent ad150ce commit c992cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blueprints/component/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ module.exports = {
231231

232232
normalizeEntityName(entityName) {
233233
return normalizeEntityName(
234-
entityName.replace(/\.js$/, '') //Prevent generation of ".js.js" files
234+
entityName.replace(/\.(js|ts)$/, '') //Prevent generation of ".js.js" and ".ts.ts" files
235235
);
236236
},
237237

0 commit comments

Comments
 (0)