azure-pipelines-task-lib 4.2.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/toolrunner.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azure-pipelines-task-lib",
3
- "version": "4.2.0",
3
+ "version": "4.3.1",
4
4
  "description": "Azure Pipelines Task SDK",
5
5
  "main": "./task.js",
6
6
  "typings": "./task.d.ts",
package/toolrunner.d.ts CHANGED
@@ -122,7 +122,7 @@ export declare class ToolRunner extends events.EventEmitter {
122
122
  * @param val string cmdline or array of strings
123
123
  * @returns ToolRunner
124
124
  */
125
- argIf(condition: any, val: any): this;
125
+ argIf(condition: unknown, val: string | string[]): ToolRunner;
126
126
  /**
127
127
  * Pipe output of exec() to another tool
128
128
  * @param tool