feat: improved script warmup #1288
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'.
|