Make PublicKey type != Signature type
This commit is contained in:
parent
cb3bf183d2
commit
2df6743c6c
|
@ -61,6 +61,8 @@ export declare class PublicKey implements IPublicKey {
|
||||||
static aggregate(pubkeys: PublicKey[]): PublicKey;
|
static aggregate(pubkeys: PublicKey[]): PublicKey;
|
||||||
toBytes(): Uint8Array;
|
toBytes(): Uint8Array;
|
||||||
toHex(): string;
|
toHex(): string;
|
||||||
|
// Virtual property so PublicKey type != Signature type
|
||||||
|
private isPublicKey: true;
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare class Signature implements ISignature {
|
export declare class Signature implements ISignature {
|
||||||
|
|
Reference in New Issue