#create type in schema

2 messages · Page 1 of 1 (latest)

spare haven
#

if I want to create a type for a field in the schema where do I add it

frosty gale
#

You would generally infer the type using Convex's Infer:

type MyType = Doc<'table_name'>['fieldName']