### Required

[\[1\]](https://github.com/davidvkimball/obsidian-disable-tabs/blob/62dec5508b3286632834804e393e4c7fbf096888/src/utils/tab-enforcer.ts#L17-L17)
`activeLeaf` is deprecated. The use of this field is discouraged.
The recommended alternatives are:
- If you need information about the current view, use {@link Workspace.getActiveViewOfType}.
- If you need to open a new file or navigate a view, use {@link Workspace.getLeaf}.



---

### Optional

