title="Sat, 16 Sep 2023 07:03:00 UTC">2 anos atrás supports-preserve-symlinks-flag 30f7226d9a first commit 2 anos atrás tailwind-color-palette 30f7226d9a first commit 2 anos atrás tailwindcss 30f7226d9a first commit 2 anos atrás thenify 30f7226d9a first commit 2 anos atrás thenify-all 30f7226d9a first commit 2 anos atrás to-regex-range 30f7226d9a first commit 2 anos atrás tr46 30f7226d9a first commit 2 anos atrás ts-interface-checker 30f7226d9a first commit 2 anos atrás uglify-js 30f7226d9a first commit 2 anos atrás underscore 30f7226d9a first commit 2 anos atrás upper-case 30f7226d9a first commit 2 anos atrás util-deprecate 30f7226d9a first commit 2 anos atrás valid-data-url 30f7226d9a first commit 2 anos atrás web-resource-inliner 30f7226d9a first commit 2 anos atrás webidl-conversions 30f7226d9a first commit 2 anos atrás whatwg-url 30f7226d9a first commit 2 anos atrás wrap-ansi 30f7226d9a first commit 2 anos atrás wrappy 30f7226d9a first commit 2 anos atrás y18n 30f7226d9a first commit 2 anos atrás yallist 30f7226d9a first commit 2 anos atrás yaml 30f7226d9a first commit 2 anos atrás yargs 30f7226d9a first commit 2 anos atrás yargs-parser 30f7226d9a first commit 2 anos atrás .yarn-integrity 30f7226d9a first commit 2 anos atrás tum/tmt_learning - Gogs: Simplico Git Service

No Description

index.d.ts 1018B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // TypeScript Version: 3.2
  2. /// <reference types="node" lib="esnext" />
  3. import * as fs from 'fs';
  4. import { Readable } from 'stream';
  5. declare namespace readdir {
  6. interface EntryInfo {
  7. path: string;
  8. fullPath: string;
  9. basename: string;
  10. stats?: fs.Stats;
  11. dirent?: fs.Dirent;
  12. }
  13. interface ReaddirpOptions {
  14. root?: string;
  15. fileFilter?: string | string[] | ((entry: EntryInfo) => boolean);
  16. directoryFilter?: string | string[] | ((entry: EntryInfo) => boolean);
  17. type?: 'files' | 'directories' | 'files_directories' | 'all';
  18. lstat?: boolean;
  19. depth?: number;
  20. alwaysStat?: boolean;
  21. }
  22. interface ReaddirpStream extends Readable, AsyncIterable<EntryInfo> {
  23. read(): EntryInfo;
  24. [Symbol.asyncIterator](): AsyncIterableIterator<EntryInfo>;
  25. }
  26. function promise(
  27. root: string,
  28. options?: ReaddirpOptions
  29. ): Promise<EntryInfo[]>;
  30. }
  31. declare function readdir(
  32. root: string,
  33. options?: readdir.ReaddirpOptions
  34. ): readdir.ReaddirpStream;
  35. export = readdir;