type WithoutVirtualProps<T> = Omit<T, keyof VirtualRowProps>;
Defined in: packages/db/src/virtual-props.ts:130
Extracts the base type from a type that may have virtual properties. Useful when you need to work with the raw data without virtual properties.
T
The type that may include virtual properties
type UserWithVirtual = { id: string; name: string; $synced: boolean; $origin: 'local' | 'remote' }
type User = WithoutVirtualProps<UserWithVirtual>
// { id: string; name: string }