Skip to content

Commit

Permalink
chore: fix another lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Nov 6, 2023
1 parent 865d4de commit 234c12f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/date/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,7 @@ export class DateModule extends SimpleDateModule {
context?: boolean;
} = {}
): string {
// eslint-disable-next-line deprecation/deprecation
const { abbr, abbreviated = abbr ?? false, context = false } = options;

if (abbr != null) {
Expand Down Expand Up @@ -1264,6 +1265,7 @@ export class DateModule extends SimpleDateModule {
context?: boolean;
} = {}
): string {
// eslint-disable-next-line deprecation/deprecation
const { abbr, abbreviated = abbr ?? false, context = false } = options;

if (abbr != null) {
Expand Down

0 comments on commit 234c12f

Please sign in to comment.