mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
fixes wrong type definition
This commit is contained in:
@@ -42,7 +42,7 @@ export type BaseContext = {
|
||||
|
||||
export type AnnotationFactoryContext = BaseContext;
|
||||
|
||||
export type FileAnnotationFactory = (file: File, setCollapseState: (boolean) => void) => React.Node[];
|
||||
export type FileAnnotationFactory = (file: File) => React.Node[];
|
||||
|
||||
// key = change id, value = react component
|
||||
export type AnnotationFactory = (
|
||||
@@ -58,7 +58,7 @@ export type DiffEventContext = BaseContext & {
|
||||
|
||||
export type DiffEventHandler = (context: DiffEventContext) => void;
|
||||
|
||||
export type FileControlFactory = (file: File) => ?React.Node;
|
||||
export type FileControlFactory = (file: File, setCollapseState: (boolean) => void) => ?React.Node;
|
||||
|
||||
export type DiffObjectProps = {
|
||||
sideBySide: boolean,
|
||||
|
||||
Reference in New Issue
Block a user