Skip to content

B-9FD5-app-frame-typecheck-fails-usedtoast-error-is-not-in-the-type

bun run typecheck in packages/ts/app-frame fails with one error: app/components/ShellOpenInButton.vue(39,37): Property 'error' does not exist. The component calls useDToast().error(...), but the type shim packages/ts/app-frame/types/design-system.d.ts declares useDToast() with only show(...). Either add error (and its siblings) to the shim, matching the real composable in the design system, or call show({ status: 'error', ... }). Then the typecheck passes.

Found in the known limits of #2451; still true at the tip of the Polish UX stack.


← Back to Backlog