luchillo17L
Convex Community4mo ago
3 replies
luchillo17

You mean these? I've had a couple of

You mean these? I've had a couple of type issues and I just had to enforce some types sometimes, afaik it was not the paths but instead crazy type inference due to me doing meta programming with string interpolation `.
    "paths": {
      "@/*": ["../src/*"],
      "@convex/*": ["./*"]
    },


Like this to make generic functions to work with 5 different tables:
export async function searchByTranslations<
  BTable extends MasterBaseTableName,
  TTable extends ``${BTable}_translations``,
>(
Was this page helpful?