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