Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 16, 2024
1 parent 2b44caf commit 8c7f2fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions types/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,10 @@ export function getUndoPath(
outputPath: string,
enforceRelative: boolean
): string;
/**
* @param {Record<string|number, boolean>} map value map
* @returns {boolean|(function(string): string)} true/false, when unconditionally true/false, or a template function to determine the value at runtime
*/
export function compileBooleanMatcher(
map: Record<string | number, boolean>
): boolean | ((arg0: string) => string);

0 comments on commit 8c7f2fe

Please sign in to comment.