Chore: Evaluate SetUsernameView - TypeScript (#4082)

This commit is contained in:
Reinaldo Neto 2022-05-02 22:53:19 -03:00 committed by GitHub
parent 1118ae6fae
commit 5f1ac0b523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ import SafeAreaView from '../containers/SafeAreaView';
import StatusBar from '../containers/StatusBar';
import TextInput from '../containers/TextInput';
import { IApplicationState } from '../definitions';
import { SetUsernameStackParamList } from '../definitions/navigationTypes';
import I18n from '../i18n';
import KeyboardView from '../containers/KeyboardView';
import { getUserSelector } from '../selectors/login';
@ -36,8 +37,8 @@ interface ISetUsernameViewState {
}
interface ISetUsernameViewProps {
navigation: StackNavigationProp<any, 'SetUsernameView'>;
route: RouteProp<{ SetUsernameView: { title: string } }, 'SetUsernameView'>;
navigation: StackNavigationProp<SetUsernameStackParamList, 'SetUsernameView'>;
route: RouteProp<SetUsernameStackParamList, 'SetUsernameView'>;
server: string;
userId: string;
token: string;