@types/chownr
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

index.d.ts

/// <reference types="node" />
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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/chownr

Weekly Downloads

18,031

Version

1.0.3

License

MIT

Unpacked Size

3.34 kB

Total Files

5

Last publish

Collaborators

  • types