docs(reference): add the members three type blocks leave out
Merged
LE
5d ago+45+45+01234567890123456789-0-0-0123456789
What
- Three interface blocks on reference pages now list every member of the interface they copy:
TestAPIgetsslow,setTimeout, andstep,WebOptionsgetschromiumSandbox, andEngineAppCheckInfogetsfileApp. Each one keeps its JSDoc from the source.
Why
- The blocks left these members out, though each page documents them elsewhere: test.mdx has
test.slow,test.setTimeout, andtest.stepentries, web.mdx has achromiumSandboxentry, and engine.mdx:305 points readers toEngineAppCheckInfo.fileApp, which the block didn't show.
How it works
- docs/reference/test.mdx:1421 copies
slow,setTimeout, andstepfromTestAPIin packages/core/src/types.ts:1118-1151, in the same place: afterfail, beforeonly. - docs/reference/web.mdx:1593 copies
chromiumSandboxfromWebOptionsin packages/web/src/surface.ts:191-195, afterbrowser. - docs/reference/engine.mdx:1554 copies
fileAppfromEngineAppCheckInfoin packages/core/src/engine/index.ts:150-155.
Issue
Docs-only change, no issue.
Verified
Ran it locally: yes
pnpm checkpasses. The translation warnings are the same as on main: 180 places behind, 219 of 334 pages match.- I compared the member names of every
interfaceblock in the Englishdocs/**/*.mdxpages with the matching interface inpackages/*/src. Members the source has and the docs block lacks:
main:
reference/test.mdx TestAPI missing slow, setTimeout, step
reference/web.mdx WebOptions missing chromiumSandbox
reference/engine.mdx EngineAppCheckInfo missing fileApp
reference/config.mdx AgentOptions missing runStep (a `never` guard; that block is a summary, left as is)
this PR:
reference/config.mdx AgentOptions missing runStep
- No screenshot: the change only adds lines to code blocks.
Checklist
- Changeset added (
pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only. - Breaking change: title carries
!, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md). - Docs updated in the same PR: the
docs/**/*.mdxpage for the behavior, andskills/e2e/if the skill describes it. - Contract change: emitted
.d.tsreviewed,tests/types/sdk-types.tsupdated; wire change edits the schema and both fixtures. - Engine contract change (
e2e/engine): changesets fore2e,@e2e-dev/web, and@e2e-dev/mobile.