Skip to content

feat: support ReturnType<T>, type predicates, and fix typeof for function declarations #3535

feat: support ReturnType<T>, type predicates, and fix typeof for function declarations

feat: support ReturnType<T>, type predicates, and fix typeof for function declarations #3535

Re-run triggered March 29, 2026 19:09
Status Failure
Total duration 41s
Artifacts

test.yml

on: pull_request
Matrix: test
Tests Complete
4s
Tests Complete
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
Build
Process completed with exit code 1.
Build: test/valid-data/type-utility-return-type-arrow/index.test.ts#L4
Replace `"valid-data·-·type-utility-return-type-arrow",·assertValidSchema("type-utility-return-type-arrow",·"MyReturnType")` with `⏎····"valid-data·-·type-utility-return-type-arrow",⏎····assertValidSchema("type-utility-return-type-arrow",·"MyReturnType"),⏎`
Build: src/Utils/isAssignableTo.ts#L141
Delete `⏎···················`
Tests Complete
Process completed with exit code 1.
Build: src/NodeParser/CallExpressionParser.ts#L27
Unsafe argument of type `any` assigned to a parameter of type `LiteralValue`
Build: src/NodeParser/CallExpressionParser.ts#L27
Unsafe member access .typeArguments on an `any` value
Build: src/NodeParser/CallExpressionParser.ts#L27
Unsafe call of an `any` typed value
Build: src/NodeParser/CallExpressionParser.ts#L27
Unsafe argument of type `any` assigned to a parameter of type `readonly BaseType[]`
Build: src/NodeParser/CallExpressionParser.ts#L25
Unsafe member access .typeArguments on an `any` value
Build: src/ExposeNodeParser.ts#L41
Unsafe member access .localSymbol on an `any` value
Build: src/ExposeNodeParser.ts#L41
Unsafe assignment of an `any` value
Build: src/AnnotationsReader/BasicAnnotationsReader.ts#L103
Unsafe assignment of an `any` value
Build: src/AnnotationsReader/BasicAnnotationsReader.ts#L102
Unsafe assignment of an `any` value
Build: src/AnnotationsReader/BasicAnnotationsReader.ts#L79
Unsafe assignment of an `any` value