Skip to content

Commit 6054183

Browse files
feat: add OutputType attributes to improve cmdlet documentation for test item retrieval
1 parent e3dc33a commit 6054183

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/main.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ process {
243243
System.IO.FileInfo[]
244244
Returns an array of FileInfo objects representing the test items found.
245245
#>
246+
[OutputType([System.IO.FileInfo[]])]
246247
[CmdletBinding()]
247248
param (
248249
# The path to the folder containing test items.
@@ -277,6 +278,7 @@ process {
277278
System.String[]
278279
Returns an array of directory paths.
279280
#>
281+
[OutputType([System.String[]])]
280282
[CmdletBinding()]
281283
param(
282284
#The root path to search for test directories.

0 commit comments

Comments
 (0)