vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
9 lines (8 loc) • 363 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.objectEntries = objectEntries;
// https://stackoverflow.com/questions/60141960/typescript-key-value-relation-preserving-object-entries-type/75337277#75337277
/** Same as Object.entries() but with type inference */
function objectEntries(obj) {
return Object.entries(obj);
}