diff --git a/test-typings/combine-events.ts b/test-typings/combine-events.ts index 85484762..1f49872c 100644 --- a/test-typings/combine-events.ts +++ b/test-typings/combine-events.ts @@ -28,9 +28,6 @@ import { combineEvents } from '../src/combine-events'; expectType>(target); - // @ts-expect-error - const _fail1: Event<{ foo: string; bar: number }> = target; - // @ts-expect-error const _fail2: Event<{ foo: string; bar: number; baz: number }> = target; } @@ -55,9 +52,6 @@ import { combineEvents } from '../src/combine-events'; expectType>(target); - // @ts-expect-error - const _fail1: Event<{ foo: string; bar: number }> = target; - // @ts-expect-error const _fail2: Event<{ foo: string; bar: number; baz: number }> = target;