Further tuning the formatting and linting rules
This commit is contained in:
parent
4b156d6bbf
commit
2632aa458c
4 changed files with 1414 additions and 3 deletions
|
|
@ -9,10 +9,10 @@ function App(): JSX.Element {
|
|||
return (
|
||||
<>
|
||||
<div>
|
||||
<a href="https://vitejs.dev" target="_blank">
|
||||
<a href="https://vitejs.dev" target="_blank" rel="noreferrer">
|
||||
<img src={viteLogo} className="logo" alt="Vite logo" />
|
||||
</a>
|
||||
<a href="https://react.dev" target="_blank">
|
||||
<a href="https://react.dev" target="_blank" rel="noreferrer">
|
||||
<img src={reactLogo} className="logo react" alt="React logo" />
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -20,7 +20,7 @@ function App(): JSX.Element {
|
|||
<div className="card">
|
||||
<button
|
||||
onClick={() => {
|
||||
setCount((count) => count + 1);
|
||||
setCount((count): number => count + 1);
|
||||
}}
|
||||
>
|
||||
count is {count}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue