Merge pull request #52 from ChainSafe/dapplion/breaking-property

Remove foreign property breaking types
This commit is contained in:
Cayman 2020-11-30 16:50:33 -07:00 committed by GitHub
commit ccd870f189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -57,9 +57,6 @@ export declare class SecretKey implements ISecretKey {
} }
export declare class PublicKey implements IPublicKey { export declare class PublicKey implements IPublicKey {
// Virtual property so PublicKey type != Signature type
private isPublicKey: true;
static fromBytes(bytes: Uint8Array): PublicKey; static fromBytes(bytes: Uint8Array): PublicKey;
static fromHex(hex: string): PublicKey; static fromHex(hex: string): PublicKey;
static aggregate(publicKeys: PublicKey[]): PublicKey; static aggregate(publicKeys: PublicKey[]): PublicKey;