I'd like to call the method refreshMe () from the home.ts. But I get the message that it is not in the typeof.
Here is what i've tried:
=> settings.ts
import { HomePage } from '../home/home'
[...]
HomePage.refreshMe();
=> home.ts
refreshMe() {
this.navCtrl.setRoot(this.navCtrl.getActive().component);
}
Here again the exact error message:
Property 'refreshMe' does not exist on type 'typeof HomePage'.