Exercise #89: Tuple Return Type
React + TypeScript ยท 06-advanced-hooks
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Ensure the hook returns a fixed-length tuple so destructuring preserves the correct types.
Check Solution
Run "Check Solution" to validate your code in the browser.