Skip to content

Commit

Permalink
fix: set Promise return types in declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Nov 17, 2023
1 parent 321860d commit e54865f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* @param {*} pluginConfig The semantic-release plugin config
* @param {*} context The context provided by semantic-release
*/
export declare function verifyConditions(pluginConfig: any, context: any): void
export declare function verifyConditions(pluginConfig: any, context: any): Promise<void>

/**
* Called by semantic-release during the prepare step
*
* @param {*} pluginConfig The semantic-release plugin config
* @param {*} context The context provided by semantic-release
*/
export declare function prepare(pluginConfig: any, context: any): void
export declare function prepare(pluginConfig: any, context: any): Promise<void>

0 comments on commit e54865f

Please sign in to comment.