Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Jan 17, 2025
1 parent ed4966f commit a7ebf2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lifecycles/BrandingExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface ProvideBrandingExtensions {
*/
getFaviconSrc(): PromiseLike<string | null>;
/**
* Called when the app needs to generate a new "badge" favicon.
* Called when the app needs to generate a new "badge" favicon.
* @param content The content inside the "badge".
* @param opts Extra parameters for the badge.
* @returns A string URL for the icon, or null if no new icon should be generated.
Expand All @@ -43,10 +43,10 @@ export interface ProvideBrandingExtensions {
}

export abstract class BrandingExtensionsBase implements ProvideBrandingExtensions {
public getAppTitle(context: AppTitleContext) {
public getAppTitle(context: AppTitleContext): string | null {
return null;
}
public async getFaviconSrc(content?: number | string, opts?: GetFaviconParameters) {
public async getFaviconSrc(content?: number | string, opts?: GetFaviconParameters): Promise<string | null> {
return null;
}
}

0 comments on commit a7ebf2e

Please sign in to comment.