leaflet-components/src
Buddy 18db84e9a4 feat: derive buildOptions return type from PROPS table via Omit<PropTypesFromTable<TProps>, TExclude[number]>
Use a const type parameter on the exclude array so literal tuples narrow
correctly. The return type now reflects the actual properties and their
kinds (number/string/boolean) instead of Record<string, unknown>.

Four call sites needed local casts where PROPS declares str but Leaflet
expects a narrower type (crossOrigin, offset) — these are design-level
mismatches between HTML attribute types and Leaflet's option types.
2026-06-08 23:27:32 -07:00
..
components feat: derive buildOptions return type from PROPS table via Omit<PropTypesFromTable<TProps>, TExclude[number]> 2026-06-08 23:27:32 -07:00
core feat: derive buildOptions return type from PROPS table via Omit<PropTypesFromTable<TProps>, TExclude[number]> 2026-06-08 23:27:32 -07:00
types refactor: extract static PROP accessor blocks into definePropAccessors helper 2026-06-07 22:12:22 -07:00
index.ts refactor: extract withProps mixin to eliminate TypedBase/observedAttributes boilerplate 2026-06-08 22:09:16 -07:00