Improve types to match reality (#10691)

This commit is contained in:
Michael Telatynski 2023-04-24 08:29:01 +01:00 committed by GitHub
parent ba796504f5
commit 96c8267f71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -75,7 +75,7 @@ export default abstract class BasePlatform {
this.startUpdateCheck = this.startUpdateCheck.bind(this);
}
public abstract getConfig(): Promise<IConfigOptions>;
public abstract getConfig(): Promise<IConfigOptions | undefined>;
public abstract getDefaultDeviceDisplayName(): string;