This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit 23933ae
docs(core): compile every README snippet and leave the UNGATED_DOCS ledger (#8132)
Part of #5174 — batch 25 of the UNGATED_DOCS burn-down.
`packages/core/README.md` leaves the ledger; every ts/tsx block on the page
now compiles against the built types. The gate file's only change is the ten
lines of that one entry, removals only.
The five TS2304 are paid down with real self-imports plus `declare const`
stand-ins typed from the shipped surface (`ComponentRenderer`,
`ServerActionFetch`, `ActionRunner`), never a lenient alias. The surviving
TS2339 is the System-View immutability demonstration, whose rejection IS the
documentation: the line stays and carries a `@ts-expect-error` with its
reason, which pins the property in both directions.
Claude-Session: https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5533ae3 commit 23933ae
2 files changed
Lines changed: 18 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | | - | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
55 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
85 | 99 | | |
86 | 100 | | |
87 | 101 | | |
| |||
116 | 130 | | |
117 | 131 | | |
118 | 132 | | |
| 133 | + | |
119 | 134 | | |
120 | 135 | | |
121 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | 708 | | |
719 | 709 | | |
720 | 710 | | |
| |||
0 commit comments