Fix type issue with class type declaration

This commit is contained in:
dapplion 2021-04-05 20:27:17 +02:00
parent 1236f7a2cc
commit bf2b457f48
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
export interface IBls { export interface IBls {
implementation: Implementation; implementation: Implementation;
SecretKey: typeof SecretKey; SecretKey: Omit<typeof SecretKey, "prototype">;
PublicKey: typeof PublicKey; PublicKey: Omit<typeof PublicKey, "prototype">;
Signature: typeof Signature; Signature: Omit<typeof Signature, "prototype">;
sign(secretKey: Uint8Array, message: Uint8Array): Uint8Array; sign(secretKey: Uint8Array, message: Uint8Array): Uint8Array;
aggregatePublicKeys(publicKeys: Uint8Array[]): Uint8Array; aggregatePublicKeys(publicKeys: Uint8Array[]): Uint8Array;