As I work on my project, I am endeavoring to ensure that all data handled by ReactAdmin is strongly typed. It appears that ReactAdmin treats all data as instances of Record:
export interface Record {
id: Identifier;
[key: string]: any;
}
This essentially instructs Typescript to disregard type-checking on any object that is a Record. The challenge lies in the fact that every object in React-Admin falls under this category.
Is there a method to define a specific type for each resource? Am I overlooking something?
I appreciate your assistance!