feat: support ReturnType<T>, type predicates, and fix typeof for function declarations #3535
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
|