End-to-End Generic Row Typing
Keeps the row type flowing through config, columns, events and API in TypeScript (TData generics) and C# (TItem). Field keys are constrained to the row type, so typos fail at compile time in every adapter.
Planned. This page shows the specification from issue #178. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A code panel per adapter showing a typed config, plus a simulated compiler output pane.
Expected behavior
A typo shows the corresponding compile error snippet for each adapter. A valid config compiles clean.
Planned API surface
GridConfig<TData>ColumnDef<TData, K extends keyof TData>GridApi<TData>TItem constraints in C#Acceptance criteria
- Invalid field keys are rejected at compile time in TS and C# adapters (pending)
- Event payloads are typed with the row type (pending)
- Nested paths are typed up to a documented depth (pending)
- Type tests run in CI (tsd/expect-type style and C# compile tests) (pending)