mirror of https://github.com/vector-im/riot-web
Fix broken tsc from localazy changes (#26255)
parent
1707ecd8b6
commit
47677c8415
|
@ -39,7 +39,7 @@ import type EN from "./i18n/strings/en_EN.json";
|
||||||
* which we know will be injected by webpack.
|
* which we know will be injected by webpack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TranslationKey = Leaves<typeof EN & typeof ReactEN, "|", string | { other: string }>;
|
export type TranslationKey = Leaves<typeof EN & typeof ReactEN, "|", string | { other: string }, 4>;
|
||||||
|
|
||||||
export class UserFriendlyError extends ReactUserFriendlyError {
|
export class UserFriendlyError extends ReactUserFriendlyError {
|
||||||
public constructor(message: TranslationKey, substitutionVariablesAndCause?: IVariables & ErrorOptions) {
|
public constructor(message: TranslationKey, substitutionVariablesAndCause?: IVariables & ErrorOptions) {
|
||||||
|
|
Loading…
Reference in New Issue