Make PublicKey type != Signature type

This commit is contained in:
dapplion 2020-11-30 16:28:47 +00:00
parent cb3bf183d2
commit 2df6743c6c
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ export declare class PublicKey implements IPublicKey {
static aggregate(pubkeys: PublicKey[]): PublicKey;
toBytes(): Uint8Array;
toHex(): string;
// Virtual property so PublicKey type != Signature type
private isPublicKey: true;
}
export declare class Signature implements ISignature {