no log: Update api.d.ts to reflect the changes in API endpoint

This commit is contained in:
LASER-Yi 2021-06-10 10:08:31 +08:00
parent 054d117400
commit ac8f5c0ca5
1 changed files with 5 additions and 3 deletions

View File

@ -10,12 +10,14 @@ interface Badge {
interface ApiLanguage {
code2: LanguageCodeType;
name: string;
hi?: boolean;
forced?: boolean;
enabled: boolean;
}
type Language = Omit<ApiLanguage, "enabled">;
type Language = Omit<ApiLanguage, "enabled"> & {
// TODO: Make things unify
hi?: boolean;
forced?: boolean;
};
namespace Profile {
interface Item {