You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constentries=[['key','val']].map(([k,v])=>[k,v]asconst)AsyncStorage.multiSet(entries);// ~~~~~~~// Argument of type '(readonly [string, string])[]' is not assignable to parameter of type '[string, string][]'.// The type 'readonly [string, string]' is 'readonly' and cannot be assigned to the mutable type '[string, string]'
The text was updated successfully, but these errors were encountered:
What happened?
At current,
(readonly [string, string])[]
is going to be rejected bymultiSet
because its function signature is the following:It should be the following:
Version
1.23.1
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
The text was updated successfully, but these errors were encountered: