Skip to content

Commit bb02365

Browse files
authoredNov 26, 2024
fix: execute type fix. (#59)
1 parent 705b60b commit bb02365

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/normalize-options.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export interface NormalizedOptions {
6262
cwd: string
6363
interface: Interface
6464
ignoreScripts: boolean
65-
execute?: string | ((config?: Operation) => void | PromiseLike<void>)
65+
execute?: string | ((config: Operation) => void | PromiseLike<void>)
6666
printCommits?: boolean
6767
customVersion?: VersionBumpOptions['customVersion']
6868
currentVersion?: string

‎src/types/version-bump-options.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ export interface VersionBumpOptions {
134134
progress?: (progress: VersionBumpProgress) => void
135135

136136
/**
137-
* Excute additional command after bumping and before commiting
137+
* Execute additional command after bumping and before committing
138138
*/
139-
execute?: string | ((config?: Operation) => void | PromiseLike<void>)
139+
execute?: string | ((config: Operation) => void | PromiseLike<void>)
140140

141141
/**
142142
* Bump the files recursively for monorepo. Only works without `files` option.

0 commit comments

Comments
 (0)
Please sign in to comment.