Skip to content

Commit

Permalink
Merge pull request #28 from karlvr/master
Browse files Browse the repository at this point in the history
typings: improve typings
  • Loading branch information
headcr4sh authored Apr 11, 2020
2 parents 8da7346 + b946072 commit 1e2a98c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ interface Maven {
* List of defines that will be passed to the Java VM via
* <code>-Dkey=value</code>
*/
execute(commands, defines): Promise<any>;
execute(commands: string | string[], defines?: { [name: string]: string }): Promise<void>;

}

export default Maven;
declare const maven: Maven
export default maven;

0 comments on commit 1e2a98c

Please sign in to comment.