Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

replaceData

function replaceData<TData, TOptions extends QueryOptions<any, any, any, any>>(
prevData: TData | undefined,
data: TData,
options: TOptions,
): TData;
§
replaceData<TData, TOptions extends QueryOptions<any, any, any, any>>(prevData: TData | undefined, data: TData, options: TOptions): TData
[src]

§Type Parameters

§
TData
[src]
§
TOptions extends QueryOptions<any, any, any, any>
[src]

§Parameters

§
prevData: TData | undefined
[src]
§
data: TData
[src]
§
options: TOptions
[src]

§Return Type

§
TData
[src]