mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
convert appid to abstract class
This commit is contained in:
parent
167558168c
commit
00bb0fdbdf
@ -1,4 +1,4 @@
|
||||
export interface AppIdService {
|
||||
getAppId(): Promise<string>;
|
||||
getAnonymousAppId(): Promise<string>;
|
||||
export abstract class AppIdService {
|
||||
getAppId: () => Promise<string>;
|
||||
getAnonymousAppId: () => Promise<string>;
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { UtilsService } from './utils.service';
|
||||
|
||||
import { AppIdService as AppIdServiceInterface } from '../abstractions/appId.service';
|
||||
import { AppIdService as AppIdServiceAbstraction } from '../abstractions/appId.service';
|
||||
import { StorageService } from '../abstractions/storage.service';
|
||||
|
||||
export class AppIdService implements AppIdServiceInterface {
|
||||
export class AppIdService implements AppIdServiceAbstraction {
|
||||
constructor(private storageService: StorageService) {
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user