test(dts-test): extractProps tests already exist & improve them #2
ci.yml
on: push
unit-test
1m 10s
unit-test-windows
1m 13s
e2e-test
48s
lint-and-test-dts
43s
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.
|