xxxxxxxxxx
export default function App() {
const inputRef = useRef<HTMLInputElement | null>(null);
const car: {brand:string} = {
brand: "Toyota"
}
useEffect(() => {
console.log(car.brand);
}, []);
/*basically add :{} after the object name*/
xxxxxxxxxx
return this.createMarkerStyle(symbolInfo as MarkerSymbolInfo);