My god, you are a life saver! I've been looking for a way to do this. I came across the declare global approach, but that didn't work. I came across the export Request approach, but that broke the middleware I was using. This is the only approach I've seen that works. THANK YOU!
My god, you are a life saver! I've been looking for a way to do this. I came across the
declare global
approach, but that didn't work. I came across theexport Request
approach, but that broke the middleware I was using. This is the only approach I've seen that works. THANK YOU!Glad it helped! You're welcome.