[Typescript] Exercise: const T
// Before
declare function useState<T>(status: T[]): T;
const loadingStatus = useState(["loading", "idle"]) // string type
// after
declare function useState2<const T>(status: T[]): T;
const loadingStatus2 = useState2(["loading", "idle"]) // loading | idle