Skip to content

fix(super-editor): correct SelectionSlice JSDoc insert example (SD-2921)#3086

Merged
caio-pizzol merged 1 commit into
mainfrom
caio/sd-2921-fix-selectionslice-jsdoc-insert-example
May 2, 2026
Merged

fix(super-editor): correct SelectionSlice JSDoc insert example (SD-2921)#3086
caio-pizzol merged 1 commit into
mainfrom
caio/sd-2921-fix-selectionslice-jsdoc-insert-example

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

The example in SelectionSlice.selectionTarget JSDoc still showed the pre-rename insert shape (content: 'Hello'). The doc-API takes value + type. Anyone copy-pasting it from IDE hover got a type error.

  • Linear: SD-2921
  • One line. No code changes.

…921)

The doc-API insert input takes value + type, not content. The example
in SelectionSlice.selectionTarget JSDoc was stale and produced a type
error if anyone copy-pasted it from IDE hover.
@caio-pizzol caio-pizzol requested a review from a team as a code owner May 2, 2026 11:34
@linear
Copy link
Copy Markdown

linear Bot commented May 2, 2026

@caio-pizzol caio-pizzol merged commit 3f6b90d into main May 2, 2026
22 of 23 checks passed
@caio-pizzol caio-pizzol deleted the caio/sd-2921-fix-selectionslice-jsdoc-insert-example branch May 2, 2026 11:34
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 2, 2026

🎉 This PR is included in @superdoc-dev/mcp v0.3.0-next.33

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 2, 2026

🎉 This PR is included in @superdoc-dev/react v1.2.0-next.75

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 2, 2026

🎉 This PR is included in vscode-ext v2.3.0-next.77

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 2, 2026

🎉 This PR is included in superdoc-sdk v1.8.0-next.37

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 7, 2026

🎉 This PR is included in superdoc-cli v0.9.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 7, 2026

🎉 This PR is included in superdoc v1.32.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 7, 2026

🎉 This PR is included in @superdoc-dev/mcp v0.4.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 7, 2026

🎉 This PR is included in @superdoc-dev/react v1.3.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 7, 2026

🎉 This PR is included in vscode-ext v2.4.0

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 15, 2026

🎉 This PR is included in superdoc-sdk v1.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants