rename react to solid

This commit is contained in:
OrJDev
2022-11-01 10:11:13 +02:00
parent f67748fe9d
commit cfd0a6c7a0
7 changed files with 22 additions and 22 deletions
+3 -3
View File
@@ -1,16 +1,16 @@
import { AnyRouter } from "@trpc/server";
import { createRecursiveProxy } from "@trpc/server/shared";
import { getQueryKey } from "../../internals/getQueryKey";
import { CreateReactQueryHooks } from "../hooks/createHooksInternal";
import { type CreateSolidQueryHooks } from "../hooks/createHooksInternal";
/**
* Create proxy for decorating procedures
* @internal
*/
export function createReactProxyDecoration<
export function createSolidProxyDecoration<
TRouter extends AnyRouter,
TSSRContext = unknown
>(name: string, hooks: CreateReactQueryHooks<TRouter, TSSRContext>) {
>(name: string, hooks: CreateSolidQueryHooks<TRouter, TSSRContext>) {
return createRecursiveProxy((opts) => {
const args = opts.args;