Skip to content

feat: Better composeMiddleware() #42

feat: Better composeMiddleware()

feat: Better composeMiddleware() #42

Triggered via pull request January 9, 2025 17:47
Status Failure
Total duration 28s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Test: src/composeMiddleware.js#L6
Cannot find name 'Middleware'.
Test: src/composeMiddleware.js#L7
Cannot find name 'Middleware'.
Test: src/composeMiddleware.js#L10
Parameter 'handler' implicitly has an 'any' type.
Test: src/handlers/block.js#L10
Cannot find name 'Handler'.
Test: src/handlers/block.js#L10
The type of a function declaration must match the function's signature.
Test: src/handlers/block.js#L10
Cannot find name 'IpfsUrlContext'.
Test: src/handlers/block.js#L10
Cannot find name 'BlockContext'.
Test: src/handlers/block.js#L10
Cannot find name 'UnixfsContext'.
Test: src/handlers/block.js#L10
Cannot find name 'TimeoutControllerContext'.
Test: src/handlers/block.js#L11
Parameter 'request' implicitly has an 'any' type.