You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using your example code, typescript instantly starts throwing errors.
constcommands={new: {desc: `Creates a new user account`},duplicate: {desc: `Duplicates a user account`}};constflags={random: {desc: `Prints random data`,type: 'boolean',default: true}};consthelpText=meowHelp({name: `cli-command`,
flags,
commands
});meow(helpText,{flags});
the error
Type '{ debug: { type: string; alias: string; desc: string; }; }' is not assignable to type 'AnyFlags'.
Property 'debug' is incompatible with index signature.
Type '{ type: string; alias: string; desc: string; }' is not assignable to type 'AnyFlag'.
Type '{ type: string; alias: string; desc: string; }' is not assignable to type 'Flag<"number", number[], true>'.
Types of property 'type' are incompatible.
Type 'string' is not assignable to type '"number"'.
The text was updated successfully, but these errors were encountered:
using your example code, typescript instantly starts throwing errors.
the error
The text was updated successfully, but these errors were encountered: