Update types.ts

Signed-off-by: Sean Tan <seant@splunk.com>
This commit is contained in:
Sean Tan
2021-09-13 14:48:38 -07:00
committed by Sean Tan
parent a42ea40655
commit 72289da72c
+1 -2
View File
@@ -27,8 +27,7 @@ export type Exact<T extends { [key: string]: unknown }> = {
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export type RequireFields<T, K extends keyof T> = {
[X in Exclude<keyof T, K>]?: T[X];
} &
{ [P in K]-?: NonNullable<T[P]> };
} & { [P in K]-?: NonNullable<T[P]> };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;