swc/bundler/tests/.cache/deno/ef066e1cbefeaa6a9a59b5ec351fc9ef618459e5.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

16 lines
918 B
TypeScript

// Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/polyfills/symbols.js
// In ES2015 (or a polyfilled) environment, this will be Symbol.iterator
/* istanbul ignore next (See: https://github.com/graphql/graphql-js/issues/2317) */
export const SYMBOL_ITERATOR = typeof Symbol === 'function' ? 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 const SYMBOL_ASYNC_ITERATOR = // $FlowFixMe Flow doesn't define `Symbol.asyncIterator` yet
typeof Symbol === 'function' ? Symbol.asyncIterator : '@@asyncIterator';
/* istanbul ignore next (See: https://github.com/graphql/graphql-js/issues/2317) */
export const SYMBOL_TO_STRING_TAG = // $FlowFixMe Flow doesn't define `Symbol.toStringTag` yet
typeof Symbol === 'function' ? Symbol.toStringTag : '@@toStringTag';