Interface: FS

Hierarchy

  • FS

Properties

exists

exists: function

Defined in fs/fs.ts:2

Type declaration:

▸ (filepath: string): Promise‹boolean›

Parameters:

Name Type
filepath string

existsSync

existsSync: function

Defined in fs/fs.ts:4

Type declaration:

▸ (filepath: string): boolean

Parameters:

Name Type
filepath string

Optional fallback

fallback? : undefined | function

Defined in fs/fs.ts:7


readFile

readFile: function

Defined in fs/fs.ts:3

Type declaration:

▸ (filepath: string): Promise‹string›

Parameters:

Name Type
filepath string

readFileSync

readFileSync: function

Defined in fs/fs.ts:5

Type declaration:

▸ (filepath: string): string

Parameters:

Name Type
filepath string

resolve

resolve: function

Defined in fs/fs.ts:6

Type declaration:

▸ (root: string, file: string, ext: string): string

Parameters:

Name Type
root string
file string
ext string