Skip to content

[pull] main from TypeCellOS:main#337

Merged
pull[bot] merged 3 commits into
code:mainfrom
TypeCellOS:main
Jun 1, 2026
Merged

[pull] main from TypeCellOS:main#337
pull[bot] merged 3 commits into
code:mainfrom
TypeCellOS:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jun 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

YousefED and others added 3 commits June 1, 2026 13:52
…ual typing (#2815)

When @ariakit/react updates its internal module structure (e.g. from
@ariakit/react-core to @ariakit/react-components), contextual typing
from external library component props can break, causing TS7006
'Parameter implicitly has an any type' errors in the Fresh Install
Tests CI workflow.

Add explicit type annotations to 5 callback parameters that depend on
external library types for inference:

- packages/ariakit/src/panel/Panel.tsx: setActiveId callback
- packages/ariakit/src/toolbar/ToolbarButton.tsx: onMouseDown callback
- packages/ariakit/src/panel/PanelFileInput.tsx: onChange callback
- packages/ariakit/src/badge/Badge.tsx: onClick callback
- packages/xl-ai/src/components/AIMenu/AIMenuController.tsx: outsidePress callback

All annotations use React/DOM built-in types (MouseEvent, ChangeEvent)
rather than library-specific types, making them resilient to future
dependency updates.
…nhandled DOMObserver errors (#2816)

Tests that mount editors were not calling unmount() afterward, leaving
ProseMirror's DOMObserver timers active. When prosemirror-view is updated
to newer versions (e.g. 1.41.8 via fresh dep resolution), a dangling
setTimeout in DOMObserver.flush() fires after jsdom teardown, causing
'document is not defined' ReferenceError.

Add afterEach cleanup following the same pattern as transformPasted.test.ts.
@pull pull Bot locked and limited conversation to collaborators Jun 1, 2026
@pull pull Bot added the ⤵️ pull label Jun 1, 2026
@pull pull Bot merged commit 8b3118f into code:main Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants