<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@puppedo/walk-sync](./walk-sync.md) &gt; [WalkSyncOptions](./walk-sync.walksyncoptions.md) &gt; [depth](./walk-sync.walksyncoptions.depth.md)

## WalkSyncOptions.depth property

Maximum depth to walk (`1` = only files in the immediate directory)

**Signature:**

```typescript
depth?: number;
```
