Merge branch 'johannes/webpack-cli-4.10.0' into johannes/webpack-5
This commit is contained in:
commit
c844d80217
14 changed files with 505 additions and 448 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue