File tree Expand file tree Collapse file tree
packages/react-native-gesture-handler/src/v3/hooks/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ function remapProps<
125125 TInternalConfig extends Record < string , unknown > ,
126126> (
127127 config : TConfig & TInternalConfig ,
128- propsMapping : Map < string , string >
128+ propsMapping : ReadonlyMap < string , string >
129129) : TInternalConfig {
130130 type MergedConfig = TConfig & TInternalConfig ;
131131
@@ -156,7 +156,7 @@ export function useClonedAndRemappedConfig<
156156 config : ExcludeInternalConfigProps <
157157 BaseGestureConfig < TConfig , THandlerData , TExtendedHandlerData >
158158 > ,
159- propsMapping : Map < string , string > = DEFAULT_PROPS_MAPPING ,
159+ propsMapping : ReadonlyMap < string , string > = DEFAULT_PROPS_MAPPING ,
160160 propsTransformer : (
161161 config : TInternalConfig
162162 ) => TInternalConfig = DEFAULT_PROPS_TRANSFORMER
You can’t perform that action at this time.
0 commit comments