Properties can essentially be anything, so we shouldn't do strict type checking here. Not all types passed would be particularly useful in the UI, but we can still process them.
They can be a boolean, null, a number, a string, a deeply nested object, an array of objects, whatever. Hence Record<string | number, any>
Closes #40
Checklist
[ ] Tests for new code (if applicable)
[ ] TypeScript definitions (module.d.ts) updated and in sync with library exports (if applicable)
Changes
Properties can essentially be anything, so we shouldn't do strict type checking here. Not all types passed would be particularly useful in the UI, but we can still process them.
They can be a boolean,
null
, a number, a string, a deeply nested object, an array of objects, whatever. HenceRecord<string | number, any>
Closes #40
Checklist