Skip to content

Commit

Permalink
Fix broken tsc from localazy changes (#26255)
Browse files Browse the repository at this point in the history
  • Loading branch information
MidhunSureshR authored Sep 28, 2023
1 parent 1707ecd commit 47677c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languageHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import type EN from "./i18n/strings/en_EN.json";
* 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 {
public constructor(message: TranslationKey, substitutionVariablesAndCause?: IVariables & ErrorOptions) {
Expand Down

0 comments on commit 47677c8

Please sign in to comment.