Cannot find name ‘Windows’. Did you mean ‘Window’?

Hello All,

I am facing some issues in Ionic while trying to use Windows.UI.Core.. Getting error like Cannot find name ‘Windows’. Did you mean ‘Window’? i need to use Windows.UI in my app.

i tried like this

if ('windows')) {
        let currentView = Windows.UI.Core.SystemNavigationManager.getForCurrentView();
        currentView.appViewBackButtonVisibility = Windows.UI.Core.AppViewBackButtonVisibility.collapsed;


Is any one there who can help me with this?

Got the solution and thanks everyone.