summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow')
-rw-r--r--alarm/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow8
1 files changed, 8 insertions, 0 deletions
diff --git a/alarm/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow b/alarm/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow
new file mode 100644
index 0000000..114489c
--- /dev/null
+++ b/alarm/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow
@@ -0,0 +1,8 @@
+// @flow strict
+// istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
+const nodejsCustomInspectSymbol =
+ typeof Symbol === 'function' && typeof Symbol.for === 'function'
+ ? Symbol.for('nodejs.util.inspect.custom')
+ : undefined;
+
+export default nodejsCustomInspectSymbol;