UNPKG

@pipepack/enhanced-resolver

Version:

yet, reimplement enhanced-resolve with the idea 'simple is best'.

9 lines (8 loc) 429 B
/** * @description - creation operator, detect specific path is directory, pass through when yes, transparent when no * @author - huang.jian <hjj491229492@hotmail.com> */ import { OperatorFunction } from 'rxjs'; import type { FileSystem } from '../interface/fs'; import type { NormalRequest } from '../interface/resolver'; export declare function isFileRequest(fs: FileSystem): OperatorFunction<NormalRequest, NormalRequest>;