feat: support image captions #405
Annotations
10 errors and 1 warning
Types:
src/helpers/asImageWidthSrcSet.ts#L101
Property 'caption' does not exist on type 'FilledImageFieldImage'.
|
Types:
test/helpers-asImagePixelDensitySrcSet.test.ts#L11
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImagePixelDensitySrcSet.test.ts#L35
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImagePixelDensitySrcSet.test.ts#L63
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImageSrc.test.ts#L11
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImageSrc.test.ts#L29
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImageWidthSrcSet.test.ts#L11
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImageWidthSrcSet.test.ts#L37
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImageWidthSrcSet.test.ts#L65
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; }' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<never, EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Types:
test/helpers-asImageWidthSrcSet.test.ts#L95
Type '{ id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { width: number; height: number; }; foo: { id: string; edit: { x: number; y: number; zoom: number; background: string; }; url: string; alt: null; copyright: null; dimensions: { ...; }...' is not assignable to type 'Simplify<(EmptyImageFieldImage & Record<"bar" | "foo", EmptyImageFieldImage> & { caption?: null | undefined; }) | (FilledImageFieldImage & Record<...> & { ...; })>'.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading