We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const emailData = { payload: { headers: [{ name: "header1", value: "value1" }, { name: "header2", value: "value2" }] } } const headers = R.path(['payload', 'headers'], emailData) //[{ name: "header1", value: "value1" }, { name: "header2", value: "value2" }]
This returns a type of 'path_11<{}>' when it should be typed with a 'path_11<List<{}>>'. When I try and call R.find() on 'headers' I get an error
**Apologies if I'm not using the right lingo... fairly new to typescript.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This returns a type of 'path_11<{}>' when it should be typed with a 'path_11<List<{}>>'. When I try and call R.find() on 'headers' I get an error
**Apologies if I'm not using the right lingo... fairly new to typescript.
The text was updated successfully, but these errors were encountered: