diff options
Diffstat (limited to 'school/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow')
-rw-r--r-- | school/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/school/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow b/school/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow new file mode 100644 index 0000000..114489c --- /dev/null +++ b/school/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; |