I am making a method to convert querystring to object. The method works well, but typing is reporting an error.
https://jsfiddle.net/h723zuen/2/
const