mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 17:00:21 +00:00
fix(gateway): show /tts audio in Control UI webchat (#61598) (thanks @neeravmakwana)
This commit is contained in:
@@ -43,7 +43,7 @@ describe("normalizeDiffViewerPayloadLanguages", () => {
|
||||
overflow: "wrap",
|
||||
unsafeCSS: "",
|
||||
},
|
||||
langs: ["not-a-real-language"],
|
||||
langs: ["not-a-real-language" as never],
|
||||
fileDiff: {
|
||||
name: "foo.txt",
|
||||
lang: "not-a-real-language" as never,
|
||||
@@ -75,7 +75,7 @@ describe("normalizeDiffViewerPayloadLanguages", () => {
|
||||
overflow: "scroll",
|
||||
unsafeCSS: "",
|
||||
},
|
||||
langs: ["typescript", "not-a-real-language"],
|
||||
langs: ["typescript", "not-a-real-language" as never],
|
||||
oldFile: {
|
||||
name: "before.unknown",
|
||||
contents: "before",
|
||||
@@ -116,7 +116,7 @@ describe("normalizeDiffViewerPayloadLanguages", () => {
|
||||
overflow: "wrap",
|
||||
unsafeCSS: "",
|
||||
},
|
||||
langs: [" "],
|
||||
langs: [" " as never],
|
||||
oldFile: {
|
||||
name: "before.unknown",
|
||||
contents: "before",
|
||||
|
||||
Reference in New Issue
Block a user