Type synthetic lint E2E bridge globals in workspace #165
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pnpm check:allcurrently fails in@lapis-notes/workspace#check:sveltedue toimplicit
anyaccess inpackages/workspace/src/lib/e2e/synthetic-lint-bridge.ts.The bridge writes to custom global keys and accepts an untyped payload callback,
which violates strict type-checking used by Svelte checks.
Problem
Workspace type-checking fails with:
Element implicitly has an 'any' type because type 'typeof globalThis' has no index signatureParameter 'payload' implicitly has an 'any' typein
synthetic-lint-bridge.ts.Goal
Make the synthetic lint bridge fully typed under strict TypeScript and unblock
pnpm check:all.Scope
packages/workspace/src/lib/e2e/synthetic-lint-bridge.tsto use anexplicit typed global host shape.
Non-goals
Acceptance Criteria
pnpm --filter @lapis-notes/workspace check:sveltepasses.pnpm check:allpasses for the current working tree.Implementation Notes
DEVgating behavior.Suggested Files or Specs To Inspect
packages/workspace/src/lib/e2e/synthetic-lint-bridge.tsspec/src/30-cross-package-contracts/editor-and-views.mdValidation Commands
pnpm --filter @lapis-notes/workspace check:sveltepnpm check:allRelated Issues
Follow-up Tasks
Implementation Summary
Typed workspace synthetic lint E2E bridge global host access with an explicit host shape to remove implicit-any globalThis indexing errors in workspace check:svelte.