Type Alias: ClientArg<T>
このコンテンツはまだ日本語訳がありません。
Type Alias: ClientArg<T>
Section titled “Type Alias: ClientArg<T>”ClientArg<
T> =TextendsFileRef?FileInput:Textends readonly infer U[] ? readonlyClientArg<U>[] :Textendsobject?{ [K in keyof T]: ClientArg<T[K]> }:T
Defined in: client/src/sync/file-desugar.ts:29
Recursive mapped type that widens every FileRef slot in T to
FileInput so client.mutate() accepts the caller’s raw carrier
without a manual sha256 dance. The server-side mutator signature is
unchanged (FileRef everywhere) — desugar rewrites args before it
lands in the outbox / crosses the wire.
Type Parameters
Section titled “Type Parameters”T