fix(types): the directive's modifiers should be optional #14307
Annotations
3 errors and 1 warning
Run type declaration tests:
packages-private/dts-test/appDirective.test-d.ts#L12
Argument of type 'Partial<Record<"stop" | "prevent", boolean>>' is not assignable to parameter of type '{ prevent: boolean; stop: boolean; }'.
|
Run type declaration tests:
packages-private/dts-test/directives.test-d.ts#L33
Argument of type 'DirectiveBinding<number, "a" | "b", "Arg">' is not assignable to parameter of type '{ value: number; oldValue: number | null; arg?: "Arg" | undefined; modifiers: Record<"a" | "b", boolean>; }'.
|
Run type declaration tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading