1 | # Installation
|
2 | > `npm install --save @types/chownr`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for chownr (https://github.com/isaacs/chownr#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chownr.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chownr/index.d.ts)
|
10 | ````ts
|
11 | /// <reference types="node" />
|
12 | import { URL } from "url";
|
13 |
|
14 | export = chownr;
|
15 |
|
16 | declare function chownr(
|
17 | path: chownr.PathLike,
|
18 | uid: number,
|
19 | gid: number,
|
20 | callback: (err: NodeJS.ErrnoException) => void,
|
21 | ): void;
|
22 |
|
23 | declare namespace chownr {
|
24 | function sync(path: PathLike, uid: number, gid: number): void;
|
25 |
|
26 | type PathLike = string | Buffer | URL;
|
27 | }
|
28 |
|
29 | ````
|
30 |
|
31 | ### Additional Details
|
32 | * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
33 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
34 |
|
35 | # Credits
|
36 | These definitions were written by [BendingBender](https://github.com/BendingBender).
|
37 |
|
\ | No newline at end of file |