import User from '../components/user/user' interface Gogo { g: string h: number } let gg: Gogo = { g: 'hello', h: 45 } function letsGogo(anyGogo?: Gogo): void { console.log(anyGogo) return } letsGogo(gg) letsGogo({ g: '12', h: 12 }) const myObj = { className: 'bongers' } const UserPage = (props?: Gogo) => ( <>