Ionic 2 TypeScript error when compiling

0

I'm doing the side-menu construction the first step of inserting the button and the first tab was quiet, but in the part of opening those tabs as for example "page one" or "page two" gives two types of errors.

One is " ; expected ", that is, semicolon being expected, except that the code is already there ;

butstilltheerrorappearsthecodeinquestionis:

openPage(page){this.nav.setRoot(page.component);}

TheothererrorthatcommonlyappearstomeisthatthemethodinopenPageisnot

    
asked by anonymous 27.03.2017 / 22:45

0 answers