Fix localization getSource TypeScript function to allow multiple format args
https://github.com/aspnetboilerplate/aspnetboilerplate/issues/5162
This commit is contained in:
Родитель
ee2e95e493
Коммит
fceeb1ad4a
|
@ -15,7 +15,7 @@ export class LocalizationService {
|
|||
return abp.localization.localize(key, sourceName);
|
||||
}
|
||||
|
||||
getSource(sourceName: string): (key: string) => string {
|
||||
getSource(sourceName: string): (...key: string[]) => string {
|
||||
return abp.localization.getSource(sourceName);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче