summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/polyfills/symbols.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/polyfills/symbols.mjs')
-rw-r--r--school/node_modules/graphql/polyfills/symbols.mjs8
1 files changed, 8 insertions, 0 deletions
diff --git a/school/node_modules/graphql/polyfills/symbols.mjs b/school/node_modules/graphql/polyfills/symbols.mjs
new file mode 100644
index 0000000..b338851
--- /dev/null
+++ b/school/node_modules/graphql/polyfills/symbols.mjs
@@ -0,0 +1,8 @@
+// In ES2015 (or a polyfilled) environment, this will be Symbol.iterator
+// istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
+export var SYMBOL_ITERATOR = typeof Symbol === 'function' && Symbol.iterator != null ? Symbol.iterator : '@@iterator'; // In ES2017 (or a polyfilled) environment, this will be Symbol.asyncIterator
+// istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
+
+export var SYMBOL_ASYNC_ITERATOR = typeof Symbol === 'function' && Symbol.asyncIterator != null ? Symbol.asyncIterator : '@@asyncIterator'; // istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
+
+export var SYMBOL_TO_STRING_TAG = typeof Symbol === 'function' && Symbol.toStringTag != null ? Symbol.toStringTag : '@@toStringTag';