I recently started working on an app using ionic 3. Along the course of development, i found that everytime i run ionic serve, I get errors like “Property ‘UserObj’ does not exist on type ‘UserDataProvider’” in many of the providers and directives but when i save any .ts file, the ionic live reload refreshes the page and everything works as expected.
Any help here will be greatly appreciated. I have added the details of my setup below.
@ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0
cordova (Cordova CLI) : 8.0.0
@ionic/app-scripts : 3.1.8 Cordova Platforms : none Ionic Framework : ionic-angular 3.9.2
Node : v8.10.0 npm : 5.6.0 OS : macOS High Sierra