Skip to content

Add isolatedDeclarations to TypeScript config #1993

Add isolatedDeclarations to TypeScript config

Add isolatedDeclarations to TypeScript config #1993

Triggered via push June 26, 2024 09:34
Status Failure
Total duration 40s
Artifacts

ci.yml

on: push
Static code analysis
5s
Static code analysis
Formatting
5s
Formatting
Matrix: typescript
Matrix: unit
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Type checking (React 19)
Type '{ file: File; onItemClick: Mock<any, any>; onLoadSuccess: Func; ref: RefObject<{ pages: RefObject<Record<string, unknown>[]>; viewer: RefObject<{ scrollPageIntoView: (args: ScrollPageIntoViewArgs) => void; }>; } | null>; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; className?: ClassName; error?: NodeOrRenderer; externalLinkRel?: string | undefined; ... 15 more ...; rotate?: number | ... 1 more ... | undefined; } & EventProps<...>'.
Type checking (React 19)
Type '{ file: File; onLoadSuccess: Func; ref: RefObject<{ pages: RefObject<Record<string, unknown>[]>; viewer: RefObject<{ scrollPageIntoView: (args: ScrollPageIntoViewArgs) => void; }>; } | null>; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; className?: ClassName; error?: NodeOrRenderer; externalLinkRel?: string | undefined; ... 15 more ...; rotate?: number | ... 1 more ... | undefined; } & EventProps<...>'.
Type checking (React 19)
Process completed with exit code 1.
Type checking (React 18)
The job was canceled because "_19" failed.
Type checking (React 18)
Type '{ file: File; onItemClick: Mock<any, any>; onLoadSuccess: Func; ref: RefObject<{ pages: RefObject<Record<string, unknown>[]>; viewer: RefObject<{ scrollPageIntoView: (args: ScrollPageIntoViewArgs) => void; }>; }>; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; className?: ClassName; error?: NodeOrRenderer; externalLinkRel?: string | undefined; ... 15 more ...; rotate?: number | ... 1 more ... | undefined; } & EventProps<...>'.
Type checking (React 18)
Type '{ file: File; onLoadSuccess: Func; ref: RefObject<{ pages: RefObject<Record<string, unknown>[]>; viewer: RefObject<{ scrollPageIntoView: (args: ScrollPageIntoViewArgs) => void; }>; }>; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; className?: ClassName; error?: NodeOrRenderer; externalLinkRel?: string | undefined; ... 15 more ...; rotate?: number | ... 1 more ... | undefined; } & EventProps<...>'.
Type checking (React 18)
'Outline' cannot be used as a JSX component.
Type checking (React 18)
'Outline' cannot be used as a JSX component.
Type checking (React 18)
'Outline' cannot be used as a JSX component.
Type checking (React 18)
'Outline' cannot be used as a JSX component.
Type checking (React 18)
'Outline' cannot be used as a JSX component.
Type checking (React 18)
'Outline' cannot be used as a JSX component.
Type checking (React 18)
'Outline' cannot be used as a JSX component.
Type checking (React 18)
'Outline' cannot be used as a JSX component.