Skip to content

Commit

Permalink
fix(transducers): hex type decl
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Aug 8, 2018
1 parent 6a0db9c commit 723da5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transducers/src/func/hex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ import { radix } from "@thi.ng/strings/radix";
* @param digits
* @param prefix
*/
export const hex = (digits = 2, prefix = "") => radix(16, digits, prefix);
export const hex = (digits = 2, prefix = ""): (x: number) => string => radix(16, digits, prefix);

0 comments on commit 723da5b

Please sign in to comment.