Skip to content

Commit 06c4587

Browse files
committed
Refine types
1 parent 15f95a4 commit 06c4587

File tree

1 file changed

+2
-2
lines changed
  • packages/create-figma-plugin/src

1 file changed

+2
-2
lines changed

packages/create-figma-plugin/src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ sade('create-figma-plugin [name]', true)
1111
)
1212
.option('-y, --yes', 'Use defaults', false)
1313
.action(async function (
14-
name: string,
15-
options: { yes: boolean; template: string }
14+
name: undefined | string,
15+
options: { yes: boolean; template?: string }
1616
): Promise<void> {
1717
await createFigmaPluginAsync({
1818
name,

0 commit comments

Comments
 (0)