-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,5 +158,10 @@ | |
}, | ||
"msw": { | ||
"workerDirectory": "public" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/addon/-private/formatters/format-message.ts b/addon/-private/formatters/format-message.ts | ||
index fde7130485d15c91f885d8a0b14385bee0425ceb..244485f71337c6b0e1ed0014b23329d584acb3d2 100644 | ||
--- a/addon/-private/formatters/format-message.ts | ||
+++ b/addon/-private/formatters/format-message.ts | ||
@@ -12,7 +12,6 @@ import type { PrimitiveType } from 'intl-messageformat'; | ||
import Formatter from './-base'; | ||
const { | ||
Handlebars: { | ||
- // @ts-expect-error Upstream types are incomplete. | ||
Utils: { escapeExpression }, | ||
}, | ||
} = Ember; | ||
@@ -38,6 +37,7 @@ function escapeOptions<T extends Record<string, unknown>>(object?: T) { | ||
// @ts-expect-error: see comment above | ||
escapedOpts[key] = val.toHTML(); | ||
} else if (typeof val === 'string') { | ||
+ // @ts-expect-error: see comment above | ||
escapedOpts[key] = escapeExpression(val); | ||
} else { | ||
// @ts-expect-error: see comment above |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.