Skip to content

fix(types): type result for throwOnError responses #733

fix(types): type result for throwOnError responses

fix(types): type result for throwOnError responses #733

Triggered via pull request January 7, 2025 02:56
Status Failure
Total duration 28s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Test: src/PostgrestTransformBuilder.ts#L195
Conversion of type 'this' to type 'PostgrestBuilder<ResultOne, false>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test: src/PostgrestTransformBuilder.ts#L215
Conversion of type 'this' to type 'PostgrestBuilder<ResultOne | null, false>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test: src/PostgrestTransformBuilder.ts#L223
Conversion of type 'this' to type 'PostgrestBuilder<string, false>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test: src/PostgrestTransformBuilder.ts#L231
Conversion of type 'this' to type 'PostgrestBuilder<Record<string, unknown>, false>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test: src/PostgrestTransformBuilder.ts#L288
Conversion of type 'this' to type 'PostgrestBuilder<Record<string, unknown>[], false>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test: src/PostgrestTransformBuilder.ts#L289
Conversion of type 'this' to type 'PostgrestBuilder<string, false>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test
Process completed with exit code 1.