版博士V2.0程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

11 righe
483 B

  1. import * as fsWalk from '@nodelib/fs.walk';
  2. import { Entry, ReaderOptions, Pattern } from '../types';
  3. import Reader from './reader';
  4. import ReaderStream from './stream';
  5. export default class ReaderAsync extends Reader<Promise<Entry[]>> {
  6. protected _walkAsync: typeof fsWalk.walk;
  7. protected _readerStream: ReaderStream;
  8. dynamic(root: string, options: ReaderOptions): Promise<Entry[]>;
  9. static(patterns: Pattern[], options: ReaderOptions): Promise<Entry[]>;
  10. }