Kamus TypeScript Usestate

interface IUser {
  name: string;
}
...
const [user, setUser] = useState({name: 'Jon'});
Defiant Dove