Enable @typescript-eslint/explicit-function-return-type
in /src (#9788)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src * Prettier * Enable `@typescript-eslint/explicit-function-return-type` in /src * Fix types * tsc strict fixes * Delint * Fix test * Fix bad merge
This commit is contained in:
parent
7a36ba0fde
commit
030b7e90bf
683 changed files with 3459 additions and 3013 deletions
|
@ -41,7 +41,7 @@ export const VoiceBroadcastPreRecordingPip: React.FC<Props> = ({ voiceBroadcastP
|
|||
disableStartButton: false,
|
||||
});
|
||||
|
||||
const onDeviceSelect = (device: MediaDeviceInfo) => {
|
||||
const onDeviceSelect = (device: MediaDeviceInfo): void => {
|
||||
setState((state) => ({
|
||||
...state,
|
||||
showDeviceSelect: false,
|
||||
|
@ -49,7 +49,7 @@ export const VoiceBroadcastPreRecordingPip: React.FC<Props> = ({ voiceBroadcastP
|
|||
setDevice(device);
|
||||
};
|
||||
|
||||
const onStartBroadcastClick = () => {
|
||||
const onStartBroadcastClick = (): void => {
|
||||
setState((state) => ({
|
||||
...state,
|
||||
disableStartButton: true,
|
||||
|
@ -63,7 +63,7 @@ export const VoiceBroadcastPreRecordingPip: React.FC<Props> = ({ voiceBroadcastP
|
|||
<VoiceBroadcastHeader
|
||||
linkToRoom={true}
|
||||
onCloseClick={voiceBroadcastPreRecording.cancel}
|
||||
onMicrophoneLineClick={() => setState({ ...state, showDeviceSelect: true })}
|
||||
onMicrophoneLineClick={(): void => setState({ ...state, showDeviceSelect: true })}
|
||||
room={voiceBroadcastPreRecording.room}
|
||||
microphoneLabel={currentDeviceLabel}
|
||||
showClose={true}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue