Skip to content

Commit

Permalink
added ObjectFromEntries & update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Aug 19, 2023
1 parent 7a3d82e commit a62cfff
Show file tree
Hide file tree
Showing 12 changed files with 14,479 additions and 8,947 deletions.
2 changes: 1 addition & 1 deletion dist/shorty.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/shorty.cjs.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions dist/shorty.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,17 @@ export declare const ObjectKeys: <O extends Record<string, any>>(obj: O) => (key
* @see https://github.com/devinrhode2/ObjectTyped/blob/master/src/index.ts
*/
export declare const ObjectValues: <O extends Record<string, unknown>>(obj: O) => O[keyof O][];
/**
* Shortcut for `Object.fromEntries()` static method.
*
* @param entries a target entries object
* @returns a new Object created from the specified entries in array format [key, value][]
* @see https://github.com/devinrhode2/ObjectTyped/blob/master/src/index.ts
*/
export declare const ObjectFromEntries: <K extends string, V>(entries: [
K,
V
][]) => Record<K, V>;
export declare interface OriginalEvent extends CustomEvent<any> {
readonly type: string;
relatedTarget?: EventTarget;
Expand Down
2 changes: 1 addition & 1 deletion dist/shorty.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/shorty.js.map

Large diffs are not rendered by default.

239 changes: 120 additions & 119 deletions dist/shorty.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/shorty.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit a62cfff

Please sign in to comment.