diff --git a/src/UI/Components/Board/CommonBoardOption.tsx b/src/UI/Components/Board/CommonBoardOption.tsx index 4b29ff8ce..620507d15 100644 --- a/src/UI/Components/Board/CommonBoardOption.tsx +++ b/src/UI/Components/Board/CommonBoardOption.tsx @@ -27,8 +27,8 @@ export interface IRectDrillOption export interface ICommonOptionProps { _CurrentBoard: Board; - setBrConfig?(); - handleComfirmOption?(); + setBrConfig?: () => void; + handleComfirmOption?: () => void; _ConfigOption?: SingleBoardOption; _ProcessOption?: BoardProcessOption; _GrooveOption?: IGrooveOption; @@ -37,7 +37,7 @@ export interface ICommonOptionProps canModeling?: IObservableValue; _IsSpecialBoard?: IObservableValue; otherBoardData: { [key: string]: any; }; - handleChangeCurrentBoard?(br: Board); + handleChangeCurrentBoard?: (br: Board) => void; uiConfigOption?: IUiOption; }