Skip to content

Commit 81ba7b0

Browse files
committed
unroll NodeJS.Platform type
Fix: #205
1 parent 5139e19 commit 81ba7b0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/index.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,18 @@ export interface MinimatchOptions {
2222
flipNegate?: boolean
2323
preserveMultipleSlashes?: boolean
2424
optimizationLevel?: number
25-
platform?: typeof process.platform
25+
platform?:
26+
| 'aix'
27+
| 'android'
28+
| 'darwin'
29+
| 'freebsd'
30+
| 'haiku'
31+
| 'linux'
32+
| 'openbsd'
33+
| 'sunos'
34+
| 'win32'
35+
| 'cygwin'
36+
| 'netbsd'
2637
windowsNoMagicRoot?: boolean
2738
}
2839

0 commit comments

Comments
 (0)