AirplaneA
Convex Community4y ago
5 replies
Airplane

Schema for Record types

when defining a schema, for s.object() is there a way to restrict the types of values but allow any arbitrary key? e.g. the equivalent of this in typescript:
interface MyInterface {
  [key: string]: number;
}
Was this page helpful?