Skip to content

Commit

Permalink
use index types
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed May 1, 2023
1 parent 677e905 commit 08090ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/state/slices/extras.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ export const getLifestealAmount = (state) => state.optimizer.form.extras.lifeste
*
* Note: Mathematically, this is neither a "combination" nor a "permutation."
*
* @param {object.<string, string[]>} data - dictionary of arrays of valid values for each key
* @returns {object.<string, string>[]} - array of every possible dictionary where one value is chosen for each key
* @param {{[key: string]: string[]}} data - dictionary of arrays of valid values for each key
* @returns {{[key: string]: string[]}} - array of every possible dictionary where one value is chosen for each key
*/
const findCombinations = (data) => {
// convert an empty array to a single array of null; no selection is still one possibility!
Expand Down

0 comments on commit 08090ee

Please sign in to comment.