一个声明

This commit is contained in:
Xu Chang 2022-11-02 18:29:44 +08:00
parent 7e2db01bef
commit 1ac506d888
2 changed files with 2 additions and 2 deletions

View File

@ -28,5 +28,5 @@ export declare abstract class UniversalContext<ED extends EntityDict> implements
rollback(): Promise<void>;
getCurrentTxnId(): string | undefined;
abstract toString(): Promise<string>;
abstract getCurrentUserId(): Promise<string | undefined>;
abstract getCurrentUserId(allowUnloggedIn?: boolean): Promise<string | undefined>;
}

View File

@ -100,5 +100,5 @@ export abstract class UniversalContext<ED extends EntityDict> implements Context
abstract toString(): Promise<string>;
abstract getCurrentUserId(): Promise<string | undefined>;
abstract getCurrentUserId(allowUnloggedIn?: boolean): Promise<string | undefined>;
}