Omit fields on "$inferSelect"?

Let's say I have a table with 5 columns, I want to do

type TableType = typeof theTable.$inferSelect;

but omit some fields. How do I do that?
Was this page helpful?