Interface IFileReader<FileType>

interface IFileReader<FileType> {
    read: ((filePath) => Promise<FileType>);
}

Type Parameters

  • FileType

Properties

Properties

read: ((filePath) => Promise<FileType>)

Type declaration

    • (filePath): Promise<FileType>
    • Parameters

      • filePath: string

      Returns Promise<FileType>