Jan 20, 2022
Hi Brendan Mullins, glad that you liked it. In the current example "infer" keyword was used to deduce the type of single item in the array. We have a list of addons and we're extracting the type for a single addon.
I found a few more articles about infer :
https://blog.logrocket.com/understanding-infer-typescript/
https://dev.to/aexol/typescript-tutorial-infer-keyword-2cn
https://javascript.plainenglish.io/typescript-infer-keyword-explained-76f4a7208cb0