summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/graphql/jsutils/identityFunc.js.flow
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/school/node_modules/graphql/jsutils/identityFunc.js.flow')
-rw-r--r--includes/external/school/node_modules/graphql/jsutils/identityFunc.js.flow7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/graphql/jsutils/identityFunc.js.flow b/includes/external/school/node_modules/graphql/jsutils/identityFunc.js.flow
new file mode 100644
index 0000000..a37961e
--- /dev/null
+++ b/includes/external/school/node_modules/graphql/jsutils/identityFunc.js.flow
@@ -0,0 +1,7 @@
+// @flow strict
+/**
+ * Returns the first argument it receives.
+ */
+export default function identityFunc<T>(x: T): T {
+ return x;
+}