Installation
npm install --save @types/chownr
Summary
This package contains type definitions for chownr (https://github.com/isaacs/chownr#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chownr.
import { URL } from "url";
export = chownr;
declare function chownr(
path: chownr.PathLike,
uid: number,
gid: number,
callback: (err: NodeJS.ErrnoException) => void,
): void;
declare namespace chownr {
function sync(path: PathLike, uid: number, gid: number): void;
type PathLike = string | Buffer | URL;
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node
Credits
These definitions were written by BendingBender.