UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

25 lines (24 loc) 590 B
/** @internal */ export interface ObjMap<T> { [key: string]: T; } /** @internal */ export type ObjMapLike<T> = ObjMap<T> | { [key: string]: T; }; /** @internal */ export interface ReadOnlyObjMap<T> { readonly [key: string]: T; } /** @internal */ export interface ReadOnlyObjMapWithSymbol<T> { readonly [key: string | symbol]: T; } /** @internal */ export type ReadOnlyObjMapLike<T> = ReadOnlyObjMap<T> | { readonly [key: string]: T; }; /** @internal */ export type ReadOnlyObjMapSymbolLike<T> = ReadOnlyObjMapWithSymbol<T> | { readonly [key: string | symbol]: T; };