mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 12:55:21 +08:00
fix: add missing helper types in descriptors
This commit is contained in:
@@ -83,15 +83,15 @@ export type MaterialBottomTabNavigationOptions = {
|
||||
};
|
||||
|
||||
export type MaterialBottomTabDescriptor = Descriptor<
|
||||
ParamListBase,
|
||||
string,
|
||||
TabNavigationState<ParamListBase>,
|
||||
MaterialBottomTabNavigationOptions
|
||||
MaterialBottomTabNavigationOptions,
|
||||
MaterialBottomTabNavigationProp<ParamListBase>,
|
||||
RouteProp<ParamListBase, string>
|
||||
>;
|
||||
|
||||
export type MaterialBottomTabDescriptorMap = {
|
||||
[key: string]: MaterialBottomTabDescriptor;
|
||||
};
|
||||
export type MaterialBottomTabDescriptorMap = Record<
|
||||
string,
|
||||
MaterialBottomTabDescriptor
|
||||
>;
|
||||
|
||||
export type MaterialBottomTabNavigationConfig = Partial<
|
||||
Omit<
|
||||
|
||||
Reference in New Issue
Block a user