mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
Test for toString option with format parameter
This commit is contained in:
@@ -97,6 +97,7 @@ new Pikaday({field: $('#datepicker')[0]});
|
||||
|
||||
(() => {
|
||||
new Pikaday({
|
||||
yearRange: 5
|
||||
yearRange: 5,
|
||||
toString: (date, format) => '2017-08-23'
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user