Skip to content

Return Objects from fs.read & fs.write #436

@teledemic

Description

@teledemic

The promisified version of fs.read shows up in the typescript typings, but when run gives "fs.read is not a function". I'm using the latest versions of both:

		"fs-extra": "3.0.1",
		"@types/fs-extra": "3.0.2",

and calling as I would expect to:

let [bytesread, buffer] = await fs.read(fd, buf, 0, length, start);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions