const [greeting, setGreeting] = useState('Hello World');. TypeScript will understand that greeting is supposed to be a string , and will ...
確定! 回上一頁