mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-12 10:06:45 +08:00
one final update to env-paths (#28819)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
ec674c55ce
commit
142b2f5a1b
@@ -6,3 +6,5 @@ envPaths('./');
|
||||
envPaths('./', {suffix: 'test'});
|
||||
// $ExpectType Paths
|
||||
envPaths('./', {suffix: false});
|
||||
// $ExpectType Paths
|
||||
envPaths('./', {suffix: true});
|
||||
|
||||
2
types/env-paths/index.d.ts
vendored
2
types/env-paths/index.d.ts
vendored
@@ -5,7 +5,7 @@
|
||||
|
||||
export = envPaths;
|
||||
|
||||
declare function envPaths(name: string, opts?: { suffix: string | false }): envPaths.Paths;
|
||||
declare function envPaths(name: string, opts?: { suffix: string | boolean }): envPaths.Paths;
|
||||
|
||||
declare namespace envPaths {
|
||||
interface Paths {
|
||||
|
||||
Reference in New Issue
Block a user