diff options
Diffstat (limited to 'node_modules/@nodelib/fs.stat/out/index.d.ts')
-rw-r--r-- | node_modules/@nodelib/fs.stat/out/index.d.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/node_modules/@nodelib/fs.stat/out/index.d.ts b/node_modules/@nodelib/fs.stat/out/index.d.ts new file mode 100644 index 0000000..bda407d --- /dev/null +++ b/node_modules/@nodelib/fs.stat/out/index.d.ts @@ -0,0 +1,22 @@ +/// <reference types="node" /> +import * as fs from 'fs'; +import { FileSystemAdapter } from './adapters/fs'; +import { Options } from './managers/options'; +import { AsyncCallback } from './providers/stat'; +/** + * Asynchronous API. + */ +export declare function stat(path: fs.PathLike, opts?: Options): Promise<fs.Stats>; +/** + * Callback API. + */ +export declare function statCallback(path: fs.PathLike, callback: AsyncCallback): void; +export declare function statCallback(path: fs.PathLike, opts: Options, callback: AsyncCallback): void; +/** + * Synchronous API. + */ +export declare function statSync(path: fs.PathLike, opts?: Options): fs.Stats; +export declare type Options = Options; +export declare type StatAsyncCallback = AsyncCallback; +export declare type FileSystemAdapter = FileSystemAdapter; +//# sourceMappingURL=index.d.ts.map
\ No newline at end of file |