Я разработал свой проект на Ionic 3. Он хорошо работает на платформе Ionic 3. Я попытался обновить свой код до Ionic 4, и в этот момент я сталкиваюсь с этой ошибкой:
ERROR in node_modules/@ionic/angular/dist/providers/nav-controller.d.ts(13,29): error TS1183: An implementation cannot be declared in ambient contexts.
node_modules/@ionic/angular/dist/providers/nav-controller.d.ts(16,29): error TS1183: An implementation cannot be declared in ambient contexts.
node_modules/@ionic/angular/dist/providers/platform.d.ts(7,51): error TS1183: An implementation cannot be declared in ambient contexts.
node_modules/@ionic/angular/dist/providers/platform.d.ts(10,18): error TS1183: An implementation cannot be declared in ambient contexts.
[ERROR] An error occurred while running subprocess ng.