mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 Merge PR #47744 update(luxon): DATE_MED_WITH_WEEKDAY from 1.25 by @peterblazejewicz
- `DATE_MED_WITH_WEEKDAY` - version bump https://github.com/moment/luxon/compare/1.24.1...1.25.0 Thanks!
This commit is contained in:
parent
d3aceaabfd
commit
65d65963e5
4
types/luxon/index.d.ts
vendored
4
types/luxon/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for luxon 1.24
|
||||
// Type definitions for luxon 1.25
|
||||
// Project: https://github.com/moment/luxon#readme
|
||||
// Definitions by: Colby DeHart <https://github.com/colbydehart>
|
||||
// Hyeonseok Yang <https://github.com/FourwingsY>
|
||||
@ -160,6 +160,8 @@ export class DateTime {
|
||||
static readonly DATE_FULL: DateTimeFormatOptions;
|
||||
static readonly DATE_HUGE: DateTimeFormatOptions;
|
||||
static readonly DATE_MED: DateTimeFormatOptions;
|
||||
/** abbreviated date with weekday */
|
||||
static readonly DATE_MED_WITH_WEEKDAY: DateTimeFormatOptions;
|
||||
static readonly DATE_SHORT: DateTimeFormatOptions;
|
||||
static readonly TIME_24_SIMPLE: DateTimeFormatOptions;
|
||||
static readonly TIME_24_WITH_LONG_OFFSET: DateTimeFormatOptions;
|
||||
|
||||
@ -12,6 +12,9 @@ import {
|
||||
} from 'luxon';
|
||||
|
||||
/* DateTime */
|
||||
DateTime.DATE_MED; // $ExpectType DateTimeFormatOptions
|
||||
DateTime.DATE_MED_WITH_WEEKDAY; // $ExpectType DateTimeFormatOptions
|
||||
|
||||
const dt = DateTime.local(2017, 5, 15, 8, 30);
|
||||
|
||||
const now = DateTime.local();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user