Skip to content

fix: use correct type for non-toJSON js/css on HttpIncoming #659

fix: use correct type for non-toJSON js/css on HttpIncoming

fix: use correct type for non-toJSON js/css on HttpIncoming #659

Triggered via push August 19, 2024 06:13
Status Failure
Total duration 38s
Artifacts

test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

25 errors
build (ubuntu-latest, 18): lib/html-document.js#L21
Type '{ type: string; value: never; }' is not assignable to type 'string | PodiumAssetJs'.
build (ubuntu-latest, 18): lib/html-document.js#L23
Type '{ type: string; value: never; rel: string; }' is not assignable to type 'string | PodiumAssetCss'.
build (ubuntu-latest, 18): lib/html-document.js#L31
Argument of type '(obj: import("./asset-css.js").CssAsset) => string' is not assignable to parameter of type '(value: string | PodiumAssetCss, index: number, array: (string | PodiumAssetCss)[]) => string'.
build (ubuntu-latest, 18): lib/html-document.js#L38
Argument of type '(obj: import("./asset-js.js").JavaScriptAsset) => string' is not assignable to parameter of type '(value: string | PodiumAssetJs, index: number, array: (string | PodiumAssetJs)[]) => string'.
build (ubuntu-latest, 18): lib/html-document.js#L52
Argument of type '(obj: import("./asset-js.js").JavaScriptAsset) => string' is not assignable to parameter of type '(value: string | PodiumAssetJs, index: number, array: (string | PodiumAssetJs)[]) => string'.
build (ubuntu-latest, 18): lib/http-incoming.js#L233
Type '(string | CssAsset)[]' is not assignable to type '(string | PodiumAssetCss)[]'.
build (ubuntu-latest, 18): lib/http-incoming.js#L234
Type '(string | JavaScriptAsset)[]' is not assignable to type '(string | PodiumAssetJs)[]'.
build (ubuntu-latest, 18)
Process completed with exit code 2.
build (windows-latest, 20)
The job was canceled because "ubuntu-latest_18" failed.
build (windows-latest, 18)
The job was canceled because "ubuntu-latest_18" failed.
build (windows-latest, 20)
The operation was canceled.
build (windows-latest, 18)
The operation was canceled.
build (macOS-latest, 18)
The job was canceled because "ubuntu-latest_18" failed.
build (macOS-latest, 18): lib/html-document.js#L21
Type '{ type: string; value: never; }' is not assignable to type 'string | PodiumAssetJs'.
build (macOS-latest, 18): lib/html-document.js#L23
Type '{ type: string; value: never; rel: string; }' is not assignable to type 'string | PodiumAssetCss'.
build (macOS-latest, 18): lib/html-document.js#L31
Argument of type '(obj: import("./asset-css.js").CssAsset) => string' is not assignable to parameter of type '(value: string | PodiumAssetCss, index: number, array: (string | PodiumAssetCss)[]) => string'.
build (macOS-latest, 18): lib/html-document.js#L38
Argument of type '(obj: import("./asset-js.js").JavaScriptAsset) => string' is not assignable to parameter of type '(value: string | PodiumAssetJs, index: number, array: (string | PodiumAssetJs)[]) => string'.
build (macOS-latest, 18): lib/html-document.js#L52
Argument of type '(obj: import("./asset-js.js").JavaScriptAsset) => string' is not assignable to parameter of type '(value: string | PodiumAssetJs, index: number, array: (string | PodiumAssetJs)[]) => string'.
build (macOS-latest, 18): lib/http-incoming.js#L233
Type '(string | CssAsset)[]' is not assignable to type '(string | PodiumAssetCss)[]'.
build (macOS-latest, 18): lib/http-incoming.js#L234
Type '(string | JavaScriptAsset)[]' is not assignable to type '(string | PodiumAssetJs)[]'.
build (macOS-latest, 18)
The operation was canceled.
build (ubuntu-latest, 20)
The job was canceled because "ubuntu-latest_18" failed.
build (ubuntu-latest, 20)
The operation was canceled.
build (macOS-latest, 20)
The job was canceled because "ubuntu-latest_18" failed.
build (macOS-latest, 20)
The operation was canceled.