Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix return types for input functions in documentation #826

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions node/docs/azure-pipelines-task-lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ If required is true and the value is not set, it will throw.

@returns string
```javascript
getInput(name:string, required?:boolean):string
getInput(name:string, required?:boolean):string | undefined
```

Param | Type | Description
Expand Down Expand Up @@ -155,7 +155,7 @@ If check is true and the path does not exist, it will throw.

@returns string
```javascript
getPathInput(name:string, required?:boolean, check?:boolean):string
getPathInput(name:string, required?:boolean, check?:boolean):string | undefined
```

Param | Type | Description
Expand Down Expand Up @@ -211,7 +211,7 @@ Gets a variable value that is defined on the build/release definition or set at

@returns string
```javascript
getVariable(name:string):string
getVariable(name:string):string | undefined
```

Param | Type | Description
Expand Down Expand Up @@ -275,7 +275,7 @@ Requires a 2.115.0 agent or higher.

@returns string
```javascript
getTaskVariable(name:string):string
getTaskVariable(name:string):string | undefined
```

Param | Type | Description
Expand Down