refactor: remove applyWhen in favor of explicit props overlap check with alwaysApply exception #707
Annotations
7 errors
Test (20)
Argument of type 'TransformationPlugin<"all", "Cropping", Options, boolean>' is not assignable to parameter of type '{ duplicatePropertiesMustBeRemoved: "height" | "width"; }'.
|
Test (20)
Argument of type '({ name, apply, strict, supports, props }: TransformationPlugin) => void' is not assignable to parameter of type '(value: TransformationPlugin<"all", "Effects", Options, boolean> | TransformationPlugin<"all", "Flags", Options, boolean> | TransformationPlugin<"all", "NamedTransformations", Options, boolean> | TransformationPlugin<"all", "Overlays", Options, boolean> | TransformationPlugin<"all", "PreserveTransformations", Options, boolean> | TransformationPlugin<"all", "RawTransformations", Options, boolean> | TransformationPlugin<"image", "RemoveBackground", Options, boolean> | TransformationPlugin<"image", "Sanitize", Options, true> | TransformationPlugin<"all", "Seo", Options, boolean> | TransformationPlugin<"all", "Underlays", Options, boolean> | TransformationPlugin<"all", "Version", Options, boolean> | TransformationPlugin<"image", "Zoompan", Options, boolean> | TransformationPlugin<"image", "DefaultImage", Options, boolean> | TransformationPlugin<"image", "Enhance", Options, boolean> | TransformationPlugin<"image", "Extract", Options, boolean> | TransformationPlugin<"image", "FillBackground", Options, boolean> | TransformationPlugin<"image", "Recolor", Options, boolean> | TransformationPlugin<"image", "Remove", Options, boolean> | TransformationPlugin<"image", "ReplaceBackground", Options, boolean> | TransformationPlugin<"image", "Replace", Options, boolean> | TransformationPlugin<"image", "Restore", Options, boolean> | TransformationPlugin<"video", "Abr", Options, boolean> | { duplicatePropertiesMustBeRemoved: "height" | "width"; }, index: number, array: (TransformationPlugin<"all", "Effects", Options, boolean> | TransformationPlugin<"all", "Flags", Options, boolean> | TransformationPlugin<"all", "NamedTransformations", Options, boolean> | TransformationPlugin<"all", "Overlays", Options, boolean> | TransformationPlugin<"all", "PreserveTransformations", Options, boolean> | TransformationPlugin<"all", "RawTransformations", Options, boolean> | TransformationPlugin<"image", "RemoveBackground", Options, boolean> | TransformationPlugin<"image", "Sanitize", Options, true> | TransformationPlugin<"all", "Seo", Options, boolean> | TransformationPlugin<"all", "Underlays", Options, boolean> | TransformationPlugin<"all", "Version", Options, boolean> | TransformationPlugin<"image", "Zoompan", Options, boolean> | TransformationPlugin<"image", "DefaultImage", Options, boolean> | TransformationPlugin<"image", "Enhance", Options, boolean> | TransformationPlugin<"image", "Extract", Options, boolean> | TransformationPlugin<"image", "FillBackground", Options, boolean> | TransformationPlugin<"image", "Recolor", Options, boolean> | TransformationPlugin<"image", "Remove", Options, boolean> | TransformationPlugin<"image", "ReplaceBackground", Options, boolean> | TransformationPlugin<"image", "Replace", Options, boolean> | TransformationPlugin<"image", "Restore", Options, boolean> | TransformationPlugin<"video", "Abr", Options, boolean> | { duplicatePropertiesMustBeRemoved: "height" | "width"; })[]) => void'.
|
Test (20)
Process completed with exit code 1.
|
Test (18)
The job was canceled because "_20" failed.
|
Test (18)
Argument of type 'TransformationPlugin<"all", "Cropping", Options, boolean>' is not assignable to parameter of type '{ duplicatePropertiesMustBeRemoved: "height" | "width"; }'.
|
Test (18)
Argument of type '({ name, apply, strict, supports, props }: TransformationPlugin) => void' is not assignable to parameter of type '(value: TransformationPlugin<"all", "Effects", Options, boolean> | TransformationPlugin<"all", "Flags", Options, boolean> | TransformationPlugin<"all", "NamedTransformations", Options, boolean> | TransformationPlugin<"all", "Overlays", Options, boolean> | TransformationPlugin<"all", "PreserveTransformations", Options, boolean> | TransformationPlugin<"all", "RawTransformations", Options, boolean> | TransformationPlugin<"image", "RemoveBackground", Options, boolean> | TransformationPlugin<"image", "Sanitize", Options, true> | TransformationPlugin<"all", "Seo", Options, boolean> | TransformationPlugin<"all", "Underlays", Options, boolean> | TransformationPlugin<"all", "Version", Options, boolean> | TransformationPlugin<"image", "Zoompan", Options, boolean> | TransformationPlugin<"image", "DefaultImage", Options, boolean> | TransformationPlugin<"image", "Enhance", Options, boolean> | TransformationPlugin<"image", "Extract", Options, boolean> | TransformationPlugin<"image", "FillBackground", Options, boolean> | TransformationPlugin<"image", "Recolor", Options, boolean> | TransformationPlugin<"image", "Remove", Options, boolean> | TransformationPlugin<"image", "ReplaceBackground", Options, boolean> | TransformationPlugin<"image", "Replace", Options, boolean> | TransformationPlugin<"image", "Restore", Options, boolean> | TransformationPlugin<"video", "Abr", Options, boolean> | { duplicatePropertiesMustBeRemoved: "height" | "width"; }, index: number, array: (TransformationPlugin<"all", "Effects", Options, boolean> | TransformationPlugin<"all", "Flags", Options, boolean> | TransformationPlugin<"all", "NamedTransformations", Options, boolean> | TransformationPlugin<"all", "Overlays", Options, boolean> | TransformationPlugin<"all", "PreserveTransformations", Options, boolean> | TransformationPlugin<"all", "RawTransformations", Options, boolean> | TransformationPlugin<"image", "RemoveBackground", Options, boolean> | TransformationPlugin<"image", "Sanitize", Options, true> | TransformationPlugin<"all", "Seo", Options, boolean> | TransformationPlugin<"all", "Underlays", Options, boolean> | TransformationPlugin<"all", "Version", Options, boolean> | TransformationPlugin<"image", "Zoompan", Options, boolean> | TransformationPlugin<"image", "DefaultImage", Options, boolean> | TransformationPlugin<"image", "Enhance", Options, boolean> | TransformationPlugin<"image", "Extract", Options, boolean> | TransformationPlugin<"image", "FillBackground", Options, boolean> | TransformationPlugin<"image", "Recolor", Options, boolean> | TransformationPlugin<"image", "Remove", Options, boolean> | TransformationPlugin<"image", "ReplaceBackground", Options, boolean> | TransformationPlugin<"image", "Replace", Options, boolean> | TransformationPlugin<"image", "Restore", Options, boolean> | TransformationPlugin<"video", "Abr", Options, boolean> | { duplicatePropertiesMustBeRemoved: "height" | "width"; })[]) => void'.
|
Test (18)
Process completed with exit code 1.
|