Property 'getRootNav' does not exist on type 'App'

Anyone please help on this!!

ERROR in src/app/app.component.ts(171,28): error TS2339: Property 'getRootNav' does not exist on type 'App'.