Imagine I wanted to ensure these variables are string objects by adding a type string declaration to this variable assignment.
What is the correct way to accomplish this?
const { someID, someName, someAPIenvironment } = useParams();
This is what I attempted:
const {(someID:string), (someName:string), (someAPIenvironment:string)} = useParams();
Is my implementation accurate?