Skip to content

Commit 8e1f1be

Browse files
committed
Fix compilation
1 parent 0927b75 commit 8e1f1be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default class ObsidianPluginGenerator extends Generator {
110110
}
111111
},
112112
{
113-
default: (answers: Answers) => makePluginName(answers.pluginId),
113+
default: (answers: Partial<Answers>) => makePluginName(answers.pluginId ?? ''),
114114
message: 'Your plugin\'s name?',
115115
name: nameof<Answers>('pluginName'),
116116
type: 'input'

0 commit comments

Comments
 (0)