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 {
implementation: Implementation;
SecretKey: typeof SecretKey;
PublicKey: typeof PublicKey;
Signature: typeof Signature;
SecretKey: Omit<typeof SecretKey, "prototype">;
PublicKey: Omit<typeof PublicKey, "prototype">;
Signature: Omit<typeof Signature, "prototype">;
sign(secretKey: Uint8Array, message: Uint8Array): Uint8Array;
aggregatePublicKeys(publicKeys: Uint8Array[]): Uint8Array;