ReferenceError: Cannot access uninitialized variable. Typescript, cordova, iOS

Could anyone suggest please, what is going wrong ? When I build my Ionic app on Ios platform I have an error, on Android everything is ok.

ReferenceError: Cannot access uninitialized variable.   service.ts:31

At service.ts on 31 line I have class declaration…

aplser

What I am doing wrong?