Hello, I am new to typescript and have an ionic app im working on. My question is that in my typescript file I declare the property
public clockInData = ;
And later I add a property to that variable like so
this.clockInData.data = this.transformGetData(val);
The code functions fine but typescript is giving an error of
Property ‘data’ does not exist on type ‘any’.
Not sure what im missing, any help would be awesome. Thank you