Skip to content

Commit

Permalink
fix: interface error
Browse files Browse the repository at this point in the history
  • Loading branch information
akabekobeko committed Mar 17, 2024
1 parent 184fc27 commit 5b5429c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/cli.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import commander from 'commander'
import { Command } from 'commander'
import generateIcon, { ICONOptions } from '../lib/index'

/** Options of command line interface. */
Expand Down Expand Up @@ -80,7 +80,7 @@ const parseSizes = (arg: string): number[] => {
* @returns Parsed options.
*/
export const parseArgv = (argv: string[]): CLIOptions => {
const program = new commander.Command()
const program = new Command()
program
.usage('icon-gen [options]')
.description(
Expand Down

0 comments on commit 5b5429c

Please sign in to comment.