diff options
| author | Max Graey <maxgraey@gmail.com> | 2019-01-24 21:06:24 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-24 14:06:24 -0500 |
| commit | 57b6fdb2eb743260a771489b98eb9e691ccad236 (patch) | |
| tree | 03a23c82e6ec8028f200910df69a2eda10ff74f0 /fs/path/interface.ts | |
| parent | deedb5e84e7878f70f652059dabace3ec64e2eda (diff) | |
Clean up path module (denoland/deno_std#149)
Original: https://github.com/denoland/deno_std/commit/47e6fc775aaf1c4970e4098822aa40c3203286ae
Diffstat (limited to 'fs/path/interface.ts')
| -rw-r--r-- | fs/path/interface.ts | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/fs/path/interface.ts b/fs/path/interface.ts index 84a3030ff..a140a4ca5 100644 --- a/fs/path/interface.ts +++ b/fs/path/interface.ts @@ -23,25 +23,5 @@ export interface ParsedPath { */ name: string; } -export interface FormatInputPathObject { - /** - * The root of the path such as '/' or 'c:\' - */ - root?: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir?: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base?: string; - /** - * The file extension (if any) such as '.html' - */ - ext?: string; - /** - * The file name without extension (if any) such as 'index' - */ - name?: string; -} + +export type FormatInputPathObject = Partial<ParsedPath> |
