SetOptions can have an optional format

This commit is contained in:
Theodore Brown
2015-04-19 18:06:15 -05:00
parent 502b8d8c58
commit 0ebd3ae49c
+2 -1
View File
@@ -260,7 +260,8 @@ declare module Pickadate {
* By default, any callbacks bound with the on method will be fired when its relevant thing is set.
* To silently set a thing, pass an options object with the muted parameter set to true.
*/
muted: boolean;
muted?: boolean;
format?: string;
}
interface Picker<TPickerObject, TItemObject extends Item, TOptions extends SetObject> {