swc/crates/swc_bundler/tests/.cache/deno/11349b40e4bb0ed8d54e10349a3f20d8763b3eab.ts
2021-11-09 20:42:49 +09:00

8 lines
312 B
TypeScript

// Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/polyfills/objectValues.js
/* eslint-disable no-redeclare */
// $FlowFixMe workaround for: https://github.com/facebook/flow/issues/2221
const objectValues = Object.values || (obj => Object.keys(obj).map(key => obj[key]));
export default objectValues;