Skip to content

Converted jsutil to typescript #2332

Converted jsutil to typescript

Converted jsutil to typescript #2332

Triggered via pull request January 4, 2025 00:37
Status Success
Total duration 38s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: dist/client/scripts/esm/chess/variants/variant.ts#L407
'unallowedPromotes' is possibly 'null'.
build: dist/client/scripts/esm/chess/variants/variant.ts#L407
Property 'push' does not exist on type 'string | number | bigint | boolean | object'.
build: dist/client/scripts/esm/chess/variants/variant.ts#L418
'unallowedPromotes' is possibly 'null'.
build: dist/client/scripts/esm/chess/variants/variant.ts#L418
Property 'includes' does not exist on type 'string | number | bigint | boolean | object'.
build: dist/client/scripts/esm/chess/variants/variant.ts#L511
Type '() => DeepCopyable' is not assignable to type '() => PieceMoveset'.
build: dist/client/scripts/esm/chess/variants/variant.ts#L511
Argument of type 'PieceMoveset | undefined' is not assignable to parameter of type 'DeepCopyable'.
build: dist/client/scripts/esm/game/rendering/spritesheet.ts#L98
Type 'DeepCopyable' is not assignable to type 'string[]'.
build: dist/client/scripts/esm/util/jsutil.ts#L27
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build: dist/client/scripts/esm/util/jsutil.ts#L28
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build: dist/client/scripts/esm/util/jsutil.ts#L45
Type 'number | undefined' is not assignable to type 'number'.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Build". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Build
4.36 MB