Skip to main content

FileResponseHandler<T>

FileResponseHandler<T> = (fullPath, basedir, basename) => T

Defined in: types.ts:428

A function that takes path information about file, and returns a value of type T

Type Parameters​

T​

T

The return type for the function

Parameters​

fullPath​

string

The full path of the current file

basedir​

string

The directory containing the current file

basename​

string

The name of the file

Returns​

T

A return value