Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tachibana-shin committed Sep 16, 2023
1 parent 0532c2c commit fa2492f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/components/BrtPlayer.vue
Expand Up @@ -1883,10 +1883,11 @@ function remount(resetCurrentTime?: boolean, noDestroy = false) {
return new Request(context.url, initParams)
},
// eslint-disable-next-line @typescript-eslint/no-explicit-any, functional/no-classes
pLoader: offEnds
? undefined
: (class CustomLoader extends (Hls.DefaultConfig.loader as any) {
: // eslint-disable-next-line functional/no-classes, @typescript-eslint/no-explicit-any
(class CustomLoader extends (Hls.DefaultConfig.loader as any) {
loadInternal(): void {
const { config, context } = this
if (!config) {
Expand Down
6 changes: 4 additions & 2 deletions src/components/PanelFixCSR.vue
Expand Up @@ -115,9 +115,10 @@ async function fix() {

const [$data, $season] = groupedResolvedUndef[i]
const [data, ep] = [
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
JSON.parse($data!),
$season && chapId
? JSON.parse($season).chaps.find((chap) => {
? JSON.parse($season).chaps.find((chap: { id: string }) => {
return chap.id === chapId
})
: undefined,
Expand All @@ -126,7 +127,8 @@ async function fix() {
const title = ep
? t("tap-_chap-_name-_othername", [ep.name, data.name, data.othername])
: t("_name-_othername", [data.name, data.othername])
await Client.execTabs("executeScript", [
// eslint-disable-next-line @typescript-eslint/no-explicit-any
await Client.execTabs("executeScript" as unknown as any, [
ids[i],
{ code: `document.title=${JSON.stringify(title)}` },
])
Expand Down

0 comments on commit fa2492f

Please sign in to comment.