Repository navigation
Commit afb660b
committed
docs(vscode-extension): the Export to React sample keeps its declared
`h1` is a declared type (`HtmlElementSchema`, objectui#8499), and
`check-doc-component-types.test.ts` pins it in this very sample as the
registered replacement for `heading`. With the constant annotated, the
`h1` sample compiles against the built packages today and with
objectui#11466 applied (measured with tsc and with check:doc-snippets on
both trees), so the `text` / `variant: 'h1'` rewrite the card proposed is
not needed and is reverted. The compile pin's documented sample follows.
Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC
Co-authored-by: Claude <noreply@anthropic.com>h1 node (objectui#11515)1 parent 71f9f2a commit afb660b
3 files changed
Lines changed: 9 additions & 6 deletions
File tree
- .changeset
- content/docs/utilities
- packages/vscode-extension/src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
| 111 | + | |
| 112 | + | |
114 | 113 | | |
115 | 114 | | |
116 | 115 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
467 | 471 | | |
468 | 472 | | |
469 | 473 | | |
470 | 474 | | |
471 | | - | |
| 475 | + | |
472 | 476 | | |
473 | 477 | | |
474 | 478 | | |
| |||
0 commit comments