初始化项目,添加 favicon.ico、screenshot.png 等静态资源文件,以及 Vue、TailwindCSS 等依赖项。配置了 Vite 和 PostCSS,并生成了基本的项目结构。
11 lines
473 B
TypeScript
11 lines
473 B
TypeScript
import * as fsWalk from '@nodelib/fs.walk';
|
|
import { Entry, ReaderOptions, Pattern } from '../types';
|
|
import Reader from './reader';
|
|
import ReaderStream from './stream';
|
|
export default class ReaderAsync extends Reader<Promise<Entry[]>> {
|
|
protected _walkAsync: typeof fsWalk.walk;
|
|
protected _readerStream: ReaderStream;
|
|
dynamic(root: string, options: ReaderOptions): Promise<Entry[]>;
|
|
static(patterns: Pattern[], options: ReaderOptions): Promise<Entry[]>;
|
|
}
|