web/admin: migrate api calls to async (#4335)
migrate api calls to async Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -7,8 +7,7 @@ import { t } from "@lingui/macro";
|
||||
|
||||
interface Locale {
|
||||
locale: Messages;
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
plurals: Function;
|
||||
plurals: (n: string | number, ord?: boolean | undefined) => string;
|
||||
}
|
||||
|
||||
export const LOCALES: {
|
||||
|
||||
Reference in New Issue
Block a user