You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 66c328c
Browse filesBrowse the repository at this point in the historyBrowse files
test(types): a computed Record<string, number> still assigns to grid columns; say so instead of pinning the opposite (objectui#11491)
tsc -p tsconfig.test.json measured the 8505 boundary row: TypeScript does not judge an
index signature's value type against optional target members, so the computed-record
escape covers values as well as keys. The row keeps its original record, the changeset
and the 8505 dated note state the measured reading.
Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/8505-grid-columns-breakpoint-narrowing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,4 +53,4 @@ an advisory sweep that never parses against the schema a file whose root carries
53
53
(`children`, `className`, `body`, …), lists a file with none of those keys by name
54
54
when the file does not validate, and exits non-zero on unreadable JSON only.
55
55
56
-
⚠️ **Dated note, 2026-10-02 — the column counts are closed too — objectui#11491.** At this change `GridSchema.columns` was `number | Partial<Record<BreakpointName, number>>`, and a computed `Record<string, number>` still assigned to it. Now each count, the bare number and every breakpoint's, is one of 1 to 12, the counts the `grid` renderer maps to a column class, on the TypeScript face and in the zod mirror. A computed record still assigns when its values are typed as those counts (the key escape described above stands); a `Record<string, number>`no longer does. `.changeset/11491-grid-columns-set.md` states what ships. The rest of this entry is kept as the reading of this change.
56
+
⚠️ **Dated note, 2026-10-02 — the column counts are closed too — objectui#11491.** At this change `GridSchema.columns` was `number | Partial<Record<BreakpointName, number>>`. Now each count, the bare number and every breakpoint's, is one of 1 to 12, the counts the `grid` renderer maps to a column class, on the TypeScript face and in the zod mirror, so a literal `{ md: 13 }` stops compiling as `{ xxl: 6 }` did. The escape described above still holds, for values as well as keys: a computed `Record<string, number>`still assigns, and the zod mirror is what judges its counts. `.changeset/11491-grid-columns-set.md` states what ships. The rest of this entry is kept as the reading of this change.
0 commit comments