Add isolatedDeclarations to TypeScript config #1993
ci.yml
on: push
Static code analysis
5s
Formatting
5s
Matrix: typescript
Matrix: unit
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.
|