Skip to content

[RL-67] Document typed .rs imports (Milestone 5) - #45

Merged
yeskiy merged 1 commit into
mainfrom
rl-67-typed-rs-imports-m5
Jun 29, 2026
Merged

[RL-67] Document typed .rs imports (Milestone 5)#45
yeskiy merged 1 commit into
mainfrom
rl-67-typed-rs-imports-m5

Conversation

@yeskiy

@yeskiy yeskiy commented Jun 29, 2026

Copy link
Copy Markdown
Owner

What

Milestone 5 of typed .rs imports (RL-67): user docs for the whole feature.

  • New TypeScript types guide: the floor + precise sidecars model, the tsconfig requirements (allowArbitraryExtensions + moduleResolution), and the three ways to generate the sidecars - the editor Language Service plugin (+ VS Code "Use Workspace Version"), the build-time types option, and the gen-types CLI - plus the gitignore note and the current classes-not-yet-typed limitation.
  • API reference: the types option in the quick-reference and global-options tables, with a pointer to the guide.
  • Overview key benefits + README: a typed-imports line each (replacing the old vague "TypeScript integration" placeholder).
  • Wired into the sidebar and the examples index.

Notes

Docs-only. The Docusaurus build/deploy runs on push to main (not PRs), so the live links are verified post-merge. Closes out the documentation milestone; classes/structs typing was deferred.

Add a TypeScript types guide covering the ambient floor, the precise `.d.rs.ts`
sidecars, and the three ways to generate them (the editor Language Service
plugin, the build-time `types` option, and the `gen-types` CLI), plus the
tsconfig requirements and the VS Code workspace-TypeScript step. Document the
`types` option in the API reference and note typed imports in the overview and
README.

Refs: RL-67
@yeskiy
yeskiy merged commit 7ecffda into main Jun 29, 2026
180 checks passed
@yeskiy
yeskiy deleted the rl-67-typed-rs-imports-m5 branch June 29, 2026 02:46
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant