TypeScript: Convert output
package
#17472
Annotations
10 errors
Lint:
packages/output/src/element.tsx#L101
Type '{ children: (false | Element | null | undefined)[]; className: string | undefined; element: Element; id: string; style: { backgroundClip?: string | undefined; borderRadius?: string | ... 1 more ... | undefined; ... 785 more ...; vectorEffect?: VectorEffect | undefined; } | { ...; }; skipDefaultMask: true; }' is not assignable to type 'IntrinsicAttributes & WithMaskProps'.
|
Lint:
packages/output/src/utils/getUsedAmpExtensions.ts#L67
'backgroundAudio.tracks.length' is possibly 'undefined'.
|
Lint:
packages/output/src/utils/backgroundAudio.tsx#L51
Type 'string' is not assignable to type 'boolean | undefined'.
|
Lint:
packages/output/src/utils/getTextElementTagNames.ts#L52
This comparison appears to be unintentional because the types '"h1" | "h2" | "h3" | "p"' and '"auto"' have no overlap.
|
Lint:
packages/output/src/utils/getLongestMediaElement.ts#L40
Property 'loop' does not exist on type 'WritableDraft<VideoElement>'.
|
Lint:
packages/output/src/utils/getAutoAdvanceAfter.ts#L20
'StoryAnimation' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
Lint:
packages/output/src/page.tsx#L36
'BackgroundAudio' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
Lint:
packages/output/src/page.tsx#L40
'ShoppingAttachment' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
Lint:
packages/output/src/page.tsx#L71
Property 'resource' does not exist on type 'Element'.
|
Lint:
packages/output/src/page.tsx#L113
Property 'tagName' does not exist on type '{ id: string; type: ElementType; mask?: Mask | undefined; link?: Link | undefined; opacity?: number | undefined; lockAspectRatio?: boolean | undefined; flip?: Flip | undefined; ... 10 more ...; rotationAngle: number; }'.
|