Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const Replacer: Plugin = async ({ client }) => {
for (const part of output.parts) {
if (part.type === "text" && "text" in part && typeof part.text === "string") {
const { result, counts } = applyReplacements(part.text, config.replacements)
;(part as { text: string }).text = result
;(part as any).text = result

// Merge counts
for (const [key, count] of counts) {
Expand Down