wrsh07W
Convex Community3y ago
1 reply
wrsh07

When is generated dataModel.d.ts typed specifically?

When I look in my generated file, I see this:
/**
 * The type of a document stored in Convex.
 */
export type Doc = any;


I didn't realize I needed to rename the _schema.ts file to schema.ts -- it might be helpful to add a comment to the generated file where the types would be more specific if there were a schema.ts file.
Was this page helpful?