Skip to content

feat: improved script warmup #1288

feat: improved script warmup

feat: improved script warmup #1288

Triggered via pull request October 14, 2024 12:00
@harlan-zwharlan-zw
synchronize #302
feat/warmup
Status Failure
Total duration 2m 35s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
ci: src/assets.ts#L31
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
ci: src/runtime/composables/useScript.ts#L28
Cannot find name 'Head'.
ci: src/runtime/composables/useScript.ts#L28
Cannot find name 'WarmupStrategy'.
ci: src/runtime/composables/useScript.ts#L37
Cannot find name 'Head'.
ci: src/runtime/composables/useScript.ts#L75
Argument of type 'Ref<boolean, boolean> | Promise<boolean | void> | "client" | "server" | "manual" | ((fn: any) => any) | "onNuxtReady" | null | undefined' is not assignable to parameter of type 'string'.
ci: src/runtime/composables/useScript.ts#L92
Property 'warmup' does not exist on type 'UseScriptContext<T>'.
ci: src/runtime/composables/useScript.ts#L92
Parameter 'rel' implicitly has an 'any' type.
ci: src/runtime/composables/useScript.ts#L94
Property '_warmupEl' does not exist on type 'UseScriptContext<T>'.
ci: src/runtime/composables/useScript.ts#L98
This expression is not callable.
ci: src/runtime/composables/useScript.ts#L101
Type '() => void' is not assignable to type '() => boolean'.