@types/walk
- Version 2.3.4
- Published
- 6.59 kB
- 1 dependency
- MIT license
Install
npm i @types/walk
yarn add @types/walk
pnpm add @types/walk
Overview
TypeScript definitions for walk
Index
Functions
Interfaces
Type Aliases
Functions
Interfaces
interface Walker
interface Walker {}
interface WalkOptions
interface WalkOptions {}
property filters
filters?: string[] | undefined;
property followLinks
followLinks?: boolean | undefined;
property listeners
listeners?: WalkOptionsListeners | undefined;
interface WalkOptionsListeners
interface WalkOptionsListeners {}
property directories
directories?: WalkStatArrayEventCallback | undefined;
property directory
directory?: WalkStatEventCallback | undefined;
property directoryError
directoryError?: WalkStatArrayEventCallback | undefined;
property end
end?: WalkStatArrayEventCallback | undefined;
property errors
errors?: WalkStatArrayEventCallback | undefined;
property file
file?: WalkStatEventCallback | undefined;
property files
files?: WalkStatArrayEventCallback | undefined;
property names
names?: WalkNamesEventCallback | undefined;
property nodeError
nodeError?: WalkStatArrayEventCallback | undefined;
Type Aliases
type WalkNamesEventCallback
type WalkNamesEventCallback = ( base: string, names: string[], next: WalkNext) => void;
type WalkNext
type WalkNext = () => void;
type WalkStatArrayEvent
type WalkStatArrayEvent = | 'files' | 'directories' | 'errors' | 'nodeError' | 'directoryError';
type WalkStatArrayEventCallback
type WalkStatArrayEventCallback = ( base: string, names: WalkStats[], next: WalkNext) => void;
type WalkStatEvent
type WalkStatEvent = 'file' | 'directory';
type WalkStatEventCallback
type WalkStatEventCallback = ( base: string, names: WalkStats, next: WalkNext) => void;
Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/walk
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/walk)
- HTML<a href="https://www.jsdocs.io/package/@types/walk"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2115 ms. - Missing or incorrect documentation? Open an issue for this package.