aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/web3-typescript-typings/index.d.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index fb697d9f4..e57ec596d 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -203,8 +203,9 @@ declare module 'web3' {
interface PersonalApi {
listAccounts: string[] | undefined;
newAccount(password?: string): string;
- unlockAccount(address: string, password?: string, duration?: number): boolean
- lockAccount(address: string): boolean
+ unlockAccount(address: string, password?: string, duration?: number): boolean;
+ lockAccount(address: string): boolean;
+ sign(message: string, account: string, password: string): string;
}
interface NetApi {