Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
26 lines
742 B
Plaintext
26 lines
742 B
Plaintext
export default interface AppConfig {
|
|
}
|
|
export type Locale = AppConfig extends {
|
|
Locale: infer AppLocale;
|
|
} ? AppLocale : string;
|
|
export type FormatNames = AppConfig extends {
|
|
Formats: infer AppFormats;
|
|
} ? {
|
|
dateTime: AppFormats extends {
|
|
dateTime: infer AppDateTimeFormats;
|
|
} ? keyof AppDateTimeFormats : string;
|
|
number: AppFormats extends {
|
|
number: infer AppNumberFormats;
|
|
} ? keyof AppNumberFormats : string;
|
|
list: AppFormats extends {
|
|
list: infer AppListFormats;
|
|
} ? keyof AppListFormats : string;
|
|
} : {
|
|
dateTime: string;
|
|
number: string;
|
|
list: string;
|
|
};
|
|
export type Messages = AppConfig extends {
|
|
Messages: infer AppMessages;
|
|
} ? AppMessages : Record<string, any>;
|