one final update to env-paths (#28819)

This commit is contained in:
Daniel Byrne
2018-09-13 12:25:51 -07:00
committed by Ryan Cavanaugh
parent ec674c55ce
commit 142b2f5a1b
2 changed files with 3 additions and 1 deletions

View File

@@ -6,3 +6,5 @@ envPaths('./');
envPaths('./', {suffix: 'test'});
// $ExpectType Paths
envPaths('./', {suffix: false});
// $ExpectType Paths
envPaths('./', {suffix: true});

View File

@@ -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 {