Skip to content

Commit 765fb41

Browse files
committed
fix: defaults to ts
1 parent 1a7cc94 commit 765fb41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/create-rslib/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ async function getTemplateName({ template }: Argv) {
1717
if (lang && ['js', 'ts'].includes(lang)) {
1818
return template;
1919
}
20-
// default to js
21-
return `${template}-js`;
20+
// default to ts
21+
return `${template}-ts`;
2222
}
2323

2424
const type = checkCancel<string>(

0 commit comments

Comments
 (0)