Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
878 B
21 lines
878 B
2 years ago
|
import type * as fsStat from '@nodelib/fs.stat';
|
||
|
import type { Dirent, ErrnoException } from '../types';
|
||
|
export interface ReaddirAsynchronousMethod {
|
||
|
(filepath: string, options: {
|
||
|
withFileTypes: true;
|
||
|
}, callback: (error: ErrnoException | null, files: Dirent[]) => void): void;
|
||
|
(filepath: string, callback: (error: ErrnoException | null, files: string[]) => void): void;
|
||
|
}
|
||
|
export interface ReaddirSynchronousMethod {
|
||
|
(filepath: string, options: {
|
||
|
withFileTypes: true;
|
||
|
}): Dirent[];
|
||
|
(filepath: string): string[];
|
||
|
}
|
||
|
export declare type FileSystemAdapter = fsStat.FileSystemAdapter & {
|
||
|
readdir: ReaddirAsynchronousMethod;
|
||
|
readdirSync: ReaddirSynchronousMethod;
|
||
|
};
|
||
|
export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter;
|
||
|
export declare function createFileSystemAdapter(fsMethods?: Partial<FileSystemAdapter>): FileSystemAdapter;
|