mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(TS) Convert some features to TS (#12469)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// @flow
|
||||
|
||||
import { toggleDialog } from '../base/dialog';
|
||||
import { IStore } from '../app/types';
|
||||
import { toggleDialog } from '../base/dialog/actions';
|
||||
|
||||
// @ts-ignore
|
||||
import { SecurityDialog } from './components/security-dialog';
|
||||
|
||||
/**
|
||||
@@ -10,7 +10,7 @@ import { SecurityDialog } from './components/security-dialog';
|
||||
* @returns {Function}
|
||||
*/
|
||||
export function toggleSecurityDialog() {
|
||||
return function(dispatch: (Object) => Object) {
|
||||
return function(dispatch: IStore['dispatch']) {
|
||||
dispatch(toggleDialog(SecurityDialog));
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user