update function names

This commit is contained in:
wobsoriano
2022-11-05 19:50:39 -07:00
parent 750783e860
commit 3a6c5b659b
2 changed files with 10 additions and 8 deletions

View File

@@ -1,17 +0,0 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import type { inferAsyncReturnType } from '@trpc/server'
import type { H3Event } from 'h3'
export type Context = inferAsyncReturnType<typeof createContext>
/**
* Creates context for an incoming request
* @link https://trpc.io/docs/context
*/
export function createContext (
opts: H3Event
) {
// for API-response caching see https://trpc.io/docs/caching
return {}
}