Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
include inquirer types
Browse files Browse the repository at this point in the history
  • Loading branch information
keremciu committed Apr 14, 2021
1 parent 8d672b8 commit baff77d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
22 changes: 19 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"@oclif/command": "^1.8.0",
"@oclif/config": "^1.17.0",
"@oclif/plugin-help": "^3.2.2",
"@types/inquirer": "^7.3.1",
"inquirer": "^8.0.0",
"tslib": "^1.14.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ a decision created on ./docs/adr/0001-use-adr-tool.md
name: 'ticket',
message: 'select superseeded decision',
type: 'list',
choices: getDecisions().map(filename => ({name: filename})),
choices: getDecisions().map((filename: string) => ({name: filename})),
}])
status = `superseded by [${superseeded.ticket}](${superseeded.ticket})`
} else {
Expand Down

0 comments on commit baff77d

Please sign in to comment.