Skip to main content

FileResponse<T>

FileResponse<T> = T | FileResponseHandler<T>

Defined in: types.ts:444

Represents a response for file path information. Can either be:

  1. T - static value
  2. A function with the following signature which returns T:
    (fullPath: string, basedir: string, basename: string) => T

Type Parameters

T

T

See

FileResponseHandler