typedef js.html.NotificationPermissionCallback = String ->Bool

Available on js