From c31094b17d26f47bd94a519b0b86e04a93155037 Mon Sep 17 00:00:00 2001 From: Pano Papadatos Date: Mon, 3 Aug 2020 13:33:41 -0400 Subject: [PATCH] fixing typo in example code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a31c136..0c6321f 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ where object properties with empty array values can be ignored from the set of p ### `getPermutations` The `getPermutations` function will return an array of all permutations for the given object. ```typescript -import {getPermutations} from "@drewkimbery/permutations"; +import {generatePermutations} from "@drewkimberly/permutations"; const obj = { pilot: ["Han Solo", "Lando Calrissian"], @@ -72,7 +72,7 @@ const obj = { speed: "1.5c" }; -const permutations = getPermutations(obj); +const permutations = generatePermutations(obj); ``` ### `generatePermutations`