Read more on MDN
let query: ( WebAPI.PermissionsAPI.permissions, WebAPI.PermissionsAPI.permissionDescriptor,) => Promise.t<WebAPI.PermissionsAPI.permissionStatus>