本页还没有译文
本页 7 段还没译成Português (BR),下面显示的是英文原文。InferCollectionType
还没翻译译自英文(tanstack.com)本页 7 段都还没译
type InferCollectionType<T> = T extends CollectionImpl<infer TOutput, infer TKey, any, any, any> ? WithVirtualProps<TOutput, TKey> : T extends CollectionOptionsIdentity<infer TOutput, infer TKey, any, any, any> ? WithVirtualProps<TOutput, TKey> : never;Defined in: packages/db/src/query/builder/types.ts:108
InferCollectionType - Extracts the TypeScript type from a CollectionImpl
This helper ensures we get the same type that was used when creating the collection itself. This can be an explicit type passed by the user or the schema output type.
Type Parameters
T
T
AI 翻译查看英文原文