Hey all, I've tried a dozen different ways to create a validation function for a request body from an HTTP request. How does this function not guarantee that it will be a Record<string, string>?
Seems like it should be Record<string, string> if i'm throwing when it is not a string...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.