proper TS definition

This commit is contained in:
Moriz Wahl 2022-04-26 13:28:36 +02:00
parent 6810c7b50d
commit b06e3c3c04

View File

@ -5,7 +5,7 @@ import { UserInterface } from '@/seeds/users/UserInterface'
import { ApolloServerTestClient } from 'apollo-server-testing'
export const userFactory = async (
client: any,
client: ApolloServerTestClient,
user: UserInterface,
): Promise<void> => {
const { mutate } = client