Skip to content

test(dts-test): extractProps tests already exist & improve them #2

test(dts-test): extractProps tests already exist & improve them

test(dts-test): extractProps tests already exist & improve them #2

Triggered via push December 5, 2023 23:25
Status Failure
Total duration 1m 26s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
lint-and-test-dts: packages/dts-test/extractProps.test-d.ts#L28
Argument of type '{ readonly bar: string; readonly foo: 1; readonly baz: boolean; readonly qux?: unknown[] | undefined; }' is not assignable to parameter of type '{ foo: number; bar: string; baz: boolean; qux: unknown[] | undefined; }'.
lint-and-test-dts: packages/dts-test/setupHelpers.test-d.ts#L183
Argument of type '{ readonly bar: number; readonly baz: unknown[]; readonly foo?: string | undefined; }' is not assignable to parameter of type '{ foo: string | undefined; bar: number; baz: unknown[]; }'.
lint-and-test-dts: packages/dts-test/setupHelpers.test-d.ts#L196
Argument of type 'Ref<string | undefined> | undefined' is not assignable to parameter of type 'Ref<string | undefined>'.
lint-and-test-dts
Process completed with exit code 1.