Martin Mädler
banner
maedler.me
Martin Mädler
@maedler.me
Web development (Angular, Vue, TailwindCSS, Symfony) • https://maedler.mehttps://github.com/MartinMa
Ah okay thanks. Seems like an elegant solution then. I‘m interested to look at the source.
December 14, 2024 at 8:40 AM
I would assume you cannot determine different types for array elements at different positions. Array index 0: AxisConfigInterface, Array index 1: RegionsConfigInterface, etc.

Do you know what I mean? What’s the type for the all-purpose array config?
December 14, 2024 at 8:31 AM
This approach would be hard to type when using TypeScript. I wouldn’t recommend it.
December 14, 2024 at 6:52 AM