Skip to content

Mark the remaining type-only imports as types - #4

Closed
ccombe wants to merge 1 commit into
untangle-circular-depsfrom
followup/remaining-type-imports
Closed

ccombe wants to merge 1 commit into
untangle-circular-depsfrom
followup/remaining-type-imports

Conversation

@ccombe

@ccombe ccombe commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • yarn workspace react-arborist test on the sibling factory branch: 13 suites, 138 tests. This branch only changes import lines, and its tree matches the earlier type-only commit.
  • Diff against untangle-circular-deps is those imports and nothing else.

These symbols are only used as types: NodeApi in create-list, RootState in context, TreeProps in initial state, DragItem in the drag and drop hooks, and OpenMap plus the handlers and renderers namespaces in tree props.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ccombe
ccombe force-pushed the followup/remaining-type-imports branch from f9ecd41 to bcc64e2 Compare November 20, 2026 21:14
@ccombe ccombe added skip-changelog PR has no user-facing effect; bypasses the changeset requirement and removed skip-changelog PR has no user-facing effect; bypasses the changeset requirement labels Nov 20, 2026
@ccombe

ccombe commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Folded into jameskerr#391 instead of landing as its own PR. That branch deletes the react-dnd hooks, so the dnd-related hunks here no longer exist; the remaining ones (RootState in context.ts, NodeApi in create-list.ts, TreeProps in initial.ts, OpenMap plus the handlers/renderers namespaces in tree-props.ts) are in c3ebede. That keeps the cleanup with the branch that rewrites those files, so there is no cross-PR conflict.

@ccombe ccombe closed this Nov 20, 2026
@ccombe
ccombe deleted the followup/remaining-type-imports branch November 20, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR has no user-facing effect; bypasses the changeset requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant