<Get resource="/me/photo/$value" scopes={['user.read']} maxPages={2} type='image'> // Type '"image"' is not assignable to type 'ResponseType | undefined'. <MyPhoto template="value> When i try to specify the type in the Get this what i get, with out that templateprops are empty
const MyMessage = (Props: MgtTemplateProps)=>{ const photo=Props.dataContext; /// this is empty return(<></>) }
error: Type '"image"' is not assignable to type 'ResponseType | undefined' how to retrieve the image url by using URL.createObjectURL