Skip to content

Commit 07c3b3f

Browse files
committed
Fix output type
1 parent d04d071 commit 07c3b3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Trim the input's value.
355355
Hashtable | String
356356
#>
357357
function Get-GitHubActionsInput {
358-
[CmdletBinding(DefaultParameterSetName = 'select')][OutputType([hashtable], [string])]
358+
[CmdletBinding(DefaultParameterSetName = 'select')][OutputType(([hashtable], [string]))]
359359
param(
360360
[Parameter(Mandatory = $true, ParameterSetName = 'select', Position = 0, ValueFromPipeline = $true)][SupportsWildcards()][ValidatePattern('^.+$')][Alias('Key', 'Keys', 'Names')][string[]]$Name,
361361
[Parameter(ParameterSetName = 'select')][Alias('Required')][switch]$Require,
@@ -454,7 +454,7 @@ Trim the state's value.
454454
Hashtable | String
455455
#>
456456
function Get-GitHubActionsState {
457-
[CmdletBinding(DefaultParameterSetName = 'select')][OutputType([hashtable], [string])]
457+
[CmdletBinding(DefaultParameterSetName = 'select')][OutputType(([hashtable], [string]))]
458458
param(
459459
[Parameter(Mandatory = $true, ParameterSetName = 'select', Position = 0, ValueFromPipeline = $true)][SupportsWildcards()][ValidatePattern('^.+$')][Alias('Key', 'Keys', 'Names')][string[]]$Name,
460460
[Parameter(ParameterSetName = 'all')][switch]$All,
@@ -533,7 +533,7 @@ Specify that output is not enumerated; Setting this parameter causes arrays to b
533533
Hashtable | PSCustomObject
534534
#>
535535
function Get-GitHubActionsWebhookEventPayload {
536-
[CmdletBinding()][OutputType([hashtable], [pscustomobject])]
536+
[CmdletBinding()][OutputType(([hashtable], [pscustomobject]))]
537537
param (
538538
[Alias('ToHashtable')][switch]$AsHashtable,
539539
[int]$Depth = 1024,

0 commit comments

Comments
 (0)