Can't Access Field in SuiParsedData

Hello. The Typescript SDK keeps throwing errors telling me that it cannot access the field property, albeit it exists when logged.

useEffect(() => {
const fetchMarketplace= async()=>{
console.log(“Fetching Marketplace”)
marketplace = await suiClient.getObject({
id: MARKETPLACE_ID,
options: {
showContent: true,
showType: true
}
});
setLoading(false)
console.log(marketplace)
listings=marketplace?.data?.content?.fields -->Error Is Here
console.log(“Listings”, listings)
}

    fetchMarketplace()
},
    []);

Does anyone know how to solve this issue? Thanks in advance.

Was a typescript warning. Just had to check that the dataType was equal to moveStruct