Skip to content

1.8.2

Choose a tag to compare

@github-actions github-actions released this 15 Jun 22:55
· 4 commits to main since this release
78d308b

Lint follow-up. Fixes a regression in 1.8.1's review cleanup.

Fixed

  • 1.8.1 silenced the prefer-active-doc warnings by using the activeDocument global, but the community-review's type-aware linter sees activeDocument as any (it doesn't load Obsidian's ambient global declarations), which cascaded into many no-unsafe-* warnings across the UI components. DOM access now goes through a typed activeDoc(): Document helper, so call sites stay type-safe (prefer-active-doc remains satisfied). Functionally identical; our own tsc against the real Obsidian types was clean throughout.