Table definition has 'any' type

I'm defining all of my tables in an
index.ts
file; but on some tables like visitor_events I get this errors;
'visitor_events' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.

On other tables however, I don't have the error and the PgTableWithColumns is correctly infered.

I've restarted TS Server and VSCode but with no success.
Was this page helpful?