-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Convert some leaf nodes to TS (#4073)
- Loading branch information
1 parent
b62eb5e
commit cb6d177
Showing
9 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
app/utils/dictionary/demography.js → app/utils/dictionary/demography.ts
This file contains 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
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
export const getDateRanges = function(this: any) { | ||
return [ | ||
{ | ||
name : this.l10n.t('All Dates'), | ||
key : 'all_dates' | ||
}, | ||
{ | ||
name : this.l10n.t('Today'), | ||
key : 'today' | ||
}, | ||
{ | ||
name : this.l10n.t('Tomorrow'), | ||
key : 'tomorrow' | ||
}, | ||
{ | ||
name : this.l10n.t('This week'), | ||
key : 'this_week' | ||
}, | ||
{ | ||
name : this.l10n.t('This Weekend'), | ||
key : 'this_weekend' | ||
}, | ||
{ | ||
name : this.l10n.t('Next week'), | ||
key : 'next_week' | ||
}, | ||
{ | ||
name : this.l10n.t('This Month'), | ||
key : 'this_month' | ||
}, | ||
{ | ||
name : this.l10n.t('Custom dates'), | ||
key : 'custom_dates' | ||
} | ||
]; | ||
}; |
File renamed without changes.
File renamed without changes.
9 changes: 8 additions & 1 deletion
9
app/utils/dictionary/licenses.js → app/utils/dictionary/licenses.ts
This file contains 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
13 changes: 12 additions & 1 deletion
13
app/utils/dictionary/payment.js → app/utils/dictionary/payment.ts
This file contains 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