Graphql type...

typescript

graphql type:
другие самплы
type GraphQLResponse<K extends string, T> = {
	errors?: Array<{
		message: string,
		locations: {line: number, column: number}[],
		path: string[]
	}>,
	data?: {
		[k in K]: T
	}
}
(ваш голос учтен)

Прикрепить файл