How to access cordova.plugins

Hi guys, now I’m a newbie in this framework.

While I doing the AndroidPermission, AndroidPermission there will be:

var permissions = cordova.plugins.permissions;
permissions.checkPermission(permission, successCallback, errorCallback);
permissions.requestPermission(permission, successCallback, errorCallback);
permissions.requestPermissions(permissions, successCallback, errorCallback);

The point is, I unable to call cordova.plugins.permissions.
In my editor showed that " Property does not exist on type CordovaPlugin

My project was successful in installed cordova AndroidPermissions and added in the app module provider