Skip to content

Commit d6c8194

Browse files
committed
Merge branch 'dev' of github.com:SharePoint/sp-dev-fx-controls-react into dev
2 parents b9926a9 + 14c49a2 commit d6c8194

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/controls/fields/fieldLookupRenderer/FieldLookupRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface IFieldLookupRendererProps extends IFieldRendererProps {
3333
/**
3434
* custom event handler of lookup item click. If not set the dialog with Display Form will be shown
3535
*/
36-
onClick?: (args: IFieldLookupClickEventArgs) => {};
36+
onClick?: (args: IFieldLookupClickEventArgs) => void;
3737
/**
3838
* Field's id.
3939
*/

src/controls/fields/fieldNameRenderer/FieldNameRenderer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ export interface IFieldNameRendererProps extends IFieldRendererProps {
3131
isNew?: boolean;
3232
/**
3333
* true if the document type has preview (true by default).
34-
* The flag impacts on the link's href:
34+
* The flag impacts on the link's href:
3535
* if the flag is tru then the href is constructed like #id=${filePath}&parent=${filePath.substring(0, filePath.lastIndexOf('/'))},
3636
* otherwise the href will contain filePath only.
3737
*/
3838
hasPreview?: boolean;
3939
/**
4040
* custom handler for link click. If not set link click will lead to rendering document preview
4141
*/
42-
onClick?: (args: IFieldNameClickEventArgs) => {};
42+
onClick?: (args: IFieldNameClickEventArgs) => void;
4343
/**
4444
* custom handler for link double click. If not set link will use OOTB behavior.
4545
*/
46-
onDoubleClick?: (args: IFieldNameClickEventArgs) => {};
46+
onDoubleClick?: (args: IFieldNameClickEventArgs) => void;
4747
}
4848

4949
/**

src/controls/fields/fieldTitleRenderer/FieldTitleRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface IFieldTitleRendererProps extends IFieldRendererProps {
3131
/**
3232
* custom title click event handler. If not set Display form for the item will be displaed
3333
*/
34-
onClick?: (args: IFieldTitleClickEventArgs) => {};
34+
onClick?: (args: IFieldTitleClickEventArgs) => void;
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)