MOBILE-4362 lint: Fix some linting
parent
32055bd8d5
commit
18ad252340
|
@ -274,7 +274,7 @@ export class AddonModImscpProvider {
|
|||
* @param siteId Site ID. If not defined, current site.
|
||||
* @returns Promise resolved when the WS call is successful.
|
||||
*/
|
||||
async logView(id: number, name?: string, siteId?: string): Promise<void> {
|
||||
async logView(id: number, siteId?: string): Promise<void> {
|
||||
const params: AddonModImscpViewImscpWSParams = {
|
||||
imscpid: id,
|
||||
};
|
||||
|
|
|
@ -104,7 +104,6 @@ export class AddonModLtiHelperProvider {
|
|||
* @param courseId Course ID.
|
||||
* @param module Module.
|
||||
* @param ltiId LTI id.
|
||||
* @param name Name of the lti.
|
||||
* @param siteId Site ID. If not defined, current site.
|
||||
* @returns Promise resolved when done.
|
||||
*/
|
||||
|
|
|
@ -211,7 +211,7 @@ export class AddonModSurveyProvider {
|
|||
* @param siteId Site ID. If not defined, current site.
|
||||
* @returns Promise resolved when the WS call is successful.
|
||||
*/
|
||||
async logView(id: number, name?: string, siteId?: string): Promise<void> {
|
||||
async logView(id: number, siteId?: string): Promise<void> {
|
||||
const params: AddonModSurveyViewSurveyWSParams = {
|
||||
surveyid: id,
|
||||
};
|
||||
|
|
|
@ -370,7 +370,6 @@ export class CorePushNotificationsProvider {
|
|||
* @param itemCategory The item category.
|
||||
* @param wsName Name of the WS.
|
||||
* @param data Other data to pass to the event.
|
||||
* @param siteId Site ID. If not defined, current site.
|
||||
* @returns Promise resolved when done. This promise is never rejected.
|
||||
* @deprecated since 4.3. Use CoreAnalytics.logEvent instead.
|
||||
*/
|
||||
|
@ -396,7 +395,6 @@ export class CorePushNotificationsProvider {
|
|||
* @param itemCategory The item category.
|
||||
* @param wsName Name of the WS.
|
||||
* @param data Other data to pass to the event.
|
||||
* @param siteId Site ID. If not defined, current site.
|
||||
* @returns Promise resolved when done. This promise is never rejected.
|
||||
* @deprecated since 4.3. Use CoreAnalytics.logEvent instead.
|
||||
*/
|
||||
|
|
|
@ -617,6 +617,7 @@ export class CoreAppProvider {
|
|||
|
||||
this.logger.debug(`Set navigation bar color ${color}`);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(<any> window).StatusBar.navigationBackgroundColorByHexString(color);
|
||||
}
|
||||
|
||||
|
|
|
@ -105,6 +105,7 @@ export class CoreDirectivesRegistry {
|
|||
* Get all directive instances and wait to be ready.
|
||||
*
|
||||
* @param element Root element.
|
||||
* @param selector If defined, CSS Selector to wait for.
|
||||
* @param directiveClass Directive class.
|
||||
* @returns Promise resolved when done.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue