trilium/apps/web-clipper/entrypoints
Elian Doran e4877e46f2
fix(web-clipper): satisfy stricter tsconfig generated by wxt 0.21
wxt 0.21 enables verbatimModuleSyntax and noUncheckedIndexedAccess in
the generated .wxt/tsconfig.json (wxt-dev/wxt#2512), which also made
the rolldown-based build reject the type-as-value Rect import.

- import Rect with an inline type specifier
- getActiveTab() now throws instead of returning a possibly-undefined
  tabs[0]
- narrow indexed accesses in absoluteUrl(), pageTitle() and the
  protocol version parsing

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 19:30:23 +03:00
..
background fix(web-clipper): satisfy stricter tsconfig generated by wxt 0.21 2026-07-30 19:30:23 +03:00
content fix(web-clipper): satisfy stricter tsconfig generated by wxt 0.21 2026-07-30 19:30:23 +03:00
offscreen chore(web-clipper): don't render offscreen for MV2 2026-01-24 16:26:16 +02:00
options fix(web-clipper): Remove trailing / from triliumServerUrl 2026-04-08 16:38:17 +02:00
popup chore(web-clipper): minor typo in "screenshot" 2026-01-26 20:10:18 +02:00