Skip to content

Commit

Permalink
fix setDayWithOptions method export (#114)
Browse files Browse the repository at this point in the history
* changing setDayWithOptions to setDay

* trying something else
  • Loading branch information
BlueHotDog authored Sep 24, 2020
1 parent 518a9dd commit 5a32744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DateFns.re
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ type setDayOptions = {
weekStartsOn: int,
};

[@bs.module "date-fns/fp/setDayWithOptions"]
external uncurried_setDayWithOptions: (. setDayOptions) => (. date) => (. date) => date ="setDayWithOptions"
[@bs.module "date-fns/fp/setDay"]
external uncurried_setDayWithOptions: (. setDayOptions) => (. date) => (. date) => date ="default"
let setDayWithOptions = curry2(uncurried_setDayWithOptions);

[@bs.module "date-fns/fp/setISODay"]
Expand Down

0 comments on commit 5a32744

Please sign in to comment.