fix(create-basic-tools): fix clack select types
This commit is contained in:
parent
3456b26c9d
commit
3b5bc83c52
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ export async function promptCategoryAndMode(): Promise<{
|
|||
|
||||
const category = await clack.select({
|
||||
message: 'Tool category',
|
||||
// @ts-expect-error - clack types are overly strict for dynamic options
|
||||
options: categories.map((cat) => ({
|
||||
value: cat,
|
||||
label: cat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue