summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/jsutils/ObjMap.js.flow
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/jsutils/ObjMap.js.flow')
-rw-r--r--school/node_modules/graphql/jsutils/ObjMap.js.flow8
1 files changed, 8 insertions, 0 deletions
diff --git a/school/node_modules/graphql/jsutils/ObjMap.js.flow b/school/node_modules/graphql/jsutils/ObjMap.js.flow
new file mode 100644
index 0000000..a37d728
--- /dev/null
+++ b/school/node_modules/graphql/jsutils/ObjMap.js.flow
@@ -0,0 +1,8 @@
+// @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, ... };