本页还没有译文
本页 8 段还没译成Português (BR),下面显示的是英文原文。WithoutVirtualProps
还没翻译译自英文(tanstack.com)本页 8 段都还没译
type WithoutVirtualProps<T> = T extends unknown ? Omit<T, keyof VirtualRowProps> : never;Defined in: packages/db/src/virtual-props.ts:175
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.
Type Parameters
T
T
The type that may include virtual properties
Example
type UserWithVirtual = { id: string; name: string; $hasPendingWrites: boolean; $origin: 'local' | 'remote' }
type User = WithoutVirtualProps<UserWithVirtual>
// { id: string; name: string }AI 翻译查看英文原文