From 213a4077dc59021077245a60224cde9fa09f1255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Loi=CC=88c=20Mahieu?= Date: Fri, 9 Oct 2020 16:12:21 +0200 Subject: [PATCH] fix: Unnecessary escape character: \' --- src/locales/nb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locales/nb.ts b/src/locales/nb.ts index 012bbff..cdf2d99 100644 --- a/src/locales/nb.ts +++ b/src/locales/nb.ts @@ -12,7 +12,7 @@ export const mixed: LocaleObject['mixed'] = { notType: ({ path, type, value, originalValue }: FormatErrorParams) => { const isCast = originalValue != null && originalValue !== value; let msg = - `${path} må være en \'${type} \`typen, ` + + `${path} må være en '${type} \`typen, ` + `men den endelige verdien var: \`${printValue(value, true)}\`` + (isCast ? ` (støpt fra verdien \`${printValue(originalValue, true)}\`).`