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
In packages/platform/sdk/src/lib/entpoints/getEndpointData
The endpointData.constructUri expects string[] and the code is forcefully converting Record<string,string> to string[] and suppressing with // ts-ignore
Suggestions
Either combine both if and else if and convert params to string[] to get rid of ts-ignore OR
make endpointData.constructUri accept string[] | Record<string,string>
The text was updated successfully, but these errors were encountered:
In
packages/platform/sdk/src/lib/entpoints/getEndpointData
The
endpointData.constructUri
expectsstring[]
and the code is forcefully convertingRecord<string,string>
tostring[]
and suppressing with // ts-ignoreSuggestions
Either combine both if and else if and convert params to
string[]
to get rid of ts-ignore ORmake endpointData.constructUri accept
string[] | Record<string,string>
The text was updated successfully, but these errors were encountered: