ts types dumb question

dumb question, what's the difference between
{input}:{input:string} Or input:string
{input}:{input:string} Or input:string
in a jsx.element passed as prop for example
2 Replies
samuele
samueleOP3y ago
CodeSandbox
React + TSX Playground (forked) - CodeSandbox
React + TSX Playground (forked) using react, react-dom, react-scripts
cje
cje3y ago
one is an object
Want results from more Discord servers?
Add your server