[luxon] Changes for 1.2

This commit is contained in:
Carson Full
2018-06-12 14:00:07 -05:00
parent 3670973099
commit ad735eb279
+2 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for luxon 0.5
// Type definitions for luxon 1.2
// Project: https://github.com/moment/luxon#readme
// Definitions by: Colby DeHart <https://github.com/colbydehart>
// Hyeonseok Yang <https://github.com/FourwingsY>
@@ -207,6 +207,7 @@ declare module 'luxon' {
toLocal(): DateTime;
toLocaleParts(options?: DateTimeFormatOptions): any[];
toLocaleString(options?: DateTimeFormatOptions): string;
toMillis(): number;
toObject(options?: { includeConfig?: boolean }): DateObject;
toRFC2822(): string;
toSQL(options?: Object): string;