github-pages-deploy-action/node_modules/graphql/jsutils/ObjMap.js.flow

10 lines
320 B
Plaintext
Raw Normal View History

2020-03-07 11:45:40 +08:00
// @flow strict
export type ObjMap<T> = { [key: string]: T, __proto__: null, ... };
export type ObjMapLike<T> = ObjMap<T> | { [key: string]: T, ... };
export type ReadOnlyObjMap<T> = { +[key: string]: T, __proto__: null, ... };
export type ReadOnlyObjMapLike<T> =
| ReadOnlyObjMap<T>
| { +[key: string]: T, ... };