diff options
Diffstat (limited to 'alarm/node_modules/graphql/polyfills/symbols.mjs')
-rw-r--r-- | alarm/node_modules/graphql/polyfills/symbols.mjs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/alarm/node_modules/graphql/polyfills/symbols.mjs b/alarm/node_modules/graphql/polyfills/symbols.mjs new file mode 100644 index 0000000..b338851 --- /dev/null +++ b/alarm/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'; |