diff options
Diffstat (limited to 'school/node_modules/graphql/polyfills/objectEntries.js')
-rw-r--r-- | school/node_modules/graphql/polyfills/objectEntries.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/school/node_modules/graphql/polyfills/objectEntries.js b/school/node_modules/graphql/polyfills/objectEntries.js new file mode 100644 index 0000000..749d4ef --- /dev/null +++ b/school/node_modules/graphql/polyfills/objectEntries.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +/* eslint-disable no-redeclare */ +// $FlowFixMe[name-already-bound] workaround for: https://github.com/facebook/flow/issues/4441 +var objectEntries = Object.entries || function (obj) { + return Object.keys(obj).map(function (key) { + return [key, obj[key]]; + }); +}; + +var _default = objectEntries; +exports.default = _default; |