Merge branch 'johannes/webpack-cli-4.10.0' into johannes/webpack-5

This commit is contained in:
Johannes Marbach 2023-09-29 11:00:03 +02:00
commit c844d80217
14 changed files with 505 additions and 448 deletions

View file

@ -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) {