Merge pull request #46 from ChainSafe/dapplion/differentiate-types
Make PublicKey type != Signature type
This commit is contained in:
commit
ab0baac84b
|
@ -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 {
|
||||
|
|
Reference in New Issue