@Slitelee wrote:
Does anyone know how to do this?
I need to be able to access or loop through the property keys of the embedded interface.
let server = server.calendar;
server = undefinedWhy is this undefined?
This seems like it should be simple to do but I spent way more than is reasonable on it. I’m still relatively new to Typescript and Ionic so any help would greatly be appreciated.
Calendar.d.ts file looks like…
declare module server {
interface calendar {
mobileID: string;
extid: string;
date?: Date;
contactid: string;
Posts: 2
Participants: 2