This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vanillajs-datepicker/Datepicker.d.ts | |
// updated with: https://github.com/themesberg/flowbite-datepicker/blob/master/docs/options.md | |
declare module 'flowbite-datepicker' { | |
export interface DatepickerOptionsFormat { | |
toValue: (date: Date, format: object, locale: object) => Date | number; | |
toDisplay: (date: Date, format: object, locale: object) => string; | |
} | |
// export interface DatepickerOptionsShortcutKeysDefinition { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simplest versions: https://plnkr.co/edit/88Va0DvT7Js5ZHoOHM6z?p=preview & https://plnkr.co/edit/OPZL0NFunYDWfOxD5DEt?p=preview | |
Good tutorial: https://tests4geeks.com/angular-2-tutorial/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://plnkr.co/edit/gTsPdnD791VmPBNPWJmv?p=preview |