Skip to content

fix: resolve typescript any types and improve error handling #27

fix: resolve typescript any types and improve error handling

fix: resolve typescript any types and improve error handling #27

Triggered via pull request January 11, 2025 01:55
Status Failure
Total duration 40s
Artifacts

ci.yml

on: pull_request
Matrix: test
Matrix: test-integration
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 1 warning
test (16.x): src/__tests__/history.test.ts#L105
Property 'getChunkNames' does not exist on type 'BundleSizeHistory'.
test (16.x): src/__tests__/history.test.ts#L112
Property 'getDateRange' does not exist on type 'BundleSizeHistory'.
test (16.x): src/__tests__/history.test.ts#L120
Property 'getSizeRange' does not exist on type 'BundleSizeHistory'.
test (16.x): src/plugins/history/index.ts#L18
Property 'historyDir' does not exist on type '{}'.
test (16.x): src/plugins/history/index.ts#L19
Property 'maxEntries' does not exist on type '{}'.
test (16.x): src/plugins/history/index.ts#L34
Parameter 'stats' implicitly has an 'any' type.
test (16.x): src/plugins/history/index.ts#L73
Parameter 'currentSnapshot' implicitly has an 'any' type.
test (16.x): src/plugins/history/index.ts#L74
Parameter 'history' implicitly has an 'any' type.
test (16.x): src/plugins/history/index.ts#L102
Parameter 'c' implicitly has an 'any' type.
test (16.x): src/plugins/history/index.ts#L175
Parameter 'thresholds' implicitly has an 'any' type.
test (20.x)
The job was canceled because "_16_x" failed.
test (20.x): src/__tests__/history.test.ts#L105
Property 'getChunkNames' does not exist on type 'BundleSizeHistory'.
test (20.x): src/__tests__/history.test.ts#L112
Property 'getDateRange' does not exist on type 'BundleSizeHistory'.
test (20.x): src/__tests__/history.test.ts#L120
Property 'getSizeRange' does not exist on type 'BundleSizeHistory'.
test (20.x): src/plugins/history/index.ts#L18
Property 'historyDir' does not exist on type '{}'.
test (20.x): src/plugins/history/index.ts#L19
Property 'maxEntries' does not exist on type '{}'.
test (20.x): src/plugins/history/index.ts#L34
Parameter 'stats' implicitly has an 'any' type.
test (20.x): src/plugins/history/index.ts#L73
Parameter 'currentSnapshot' implicitly has an 'any' type.
test (20.x): src/plugins/history/index.ts#L74
Parameter 'history' implicitly has an 'any' type.
test (20.x): src/plugins/history/index.ts#L102
Parameter 'c' implicitly has an 'any' type.
test (20.x): src/plugins/history/index.ts#L175
Parameter 'thresholds' implicitly has an 'any' type.
test (18.x)
The job was canceled because "_16_x" failed.
test (18.x): src/__tests__/history.test.ts#L105
Property 'getChunkNames' does not exist on type 'BundleSizeHistory'.
test (18.x): src/__tests__/history.test.ts#L112
Property 'getDateRange' does not exist on type 'BundleSizeHistory'.
test (18.x): src/__tests__/history.test.ts#L120
Property 'getSizeRange' does not exist on type 'BundleSizeHistory'.
test (18.x): src/plugins/history/index.ts#L18
Property 'historyDir' does not exist on type '{}'.
test (18.x): src/plugins/history/index.ts#L19
Property 'maxEntries' does not exist on type '{}'.
test (18.x): src/plugins/history/index.ts#L34
Parameter 'stats' implicitly has an 'any' type.
test (18.x): src/plugins/history/index.ts#L73
Parameter 'currentSnapshot' implicitly has an 'any' type.
test (18.x): src/plugins/history/index.ts#L74
Parameter 'history' implicitly has an 'any' type.
test (18.x): src/plugins/history/index.ts#L102
Parameter 'c' implicitly has an 'any' type.
test (18.x): src/plugins/history/index.ts#L175
Parameter 'thresholds' implicitly has an 'any' type.
test (16.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636