mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Merge pull request #10479 from Sayan751/master
Added missing function config() to Pikaday class
This commit is contained in:
Vendored
+8
@@ -10,6 +10,14 @@ declare class Pikaday {
|
||||
|
||||
constructor(options: Pikaday.PikadayOptions);
|
||||
|
||||
/**
|
||||
* Extends the existing configuration options for Pikaday object with the options provided.
|
||||
* Can be used to change/extend the configurations on runtime.
|
||||
* @param options full/partial configuration options.
|
||||
* @returns {} extended configurations.
|
||||
*/
|
||||
config(options: Pikaday.PikadayOptions): Pikaday.PikadayOptions;
|
||||
|
||||
/**
|
||||
* Returns the selected date in a string format. If Moment.js exists
|
||||
* (recommended) then Pikaday can return any format that Moment
|
||||
|
||||
Reference in New Issue
Block a user