UNPKG

@v4fire/core

Version:
19 lines (16 loc) 429 B
/*! * V4Fire Core * https://github.com/V4Fire/Core * * Released under the MIT license * https://github.com/V4Fire/Core/blob/master/LICENSE */ import extend from 'core/prelude/extend'; import { deprecate } from 'core/functools'; /** * @deprecated * @see [[DateConstructor.getWeekDays]] */ extend(Date, 'getWeekDays', deprecate(function getWeekDays(): string[] { return ['Mn', 'Ts', 'Wd', 'Th', 'Fr', 'St', 'Sn']; }));