From 0a3f6f56591d5ad30bba0a80549bc7f5b6d6f9e9 Mon Sep 17 00:00:00 2001 From: dapplion Date: Mon, 30 Nov 2020 11:32:36 +0000 Subject: [PATCH] Use declare only --- src/index.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/index.ts b/src/index.ts index 6179fa0..9b55c9a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,14 +37,14 @@ export async function init(impl: Implementation): Promise { } // Proxy named exports, will get set by `Object.assign(exports, blsImpl)` -export let sign: IBls["sign"]; -export let aggregateSignatures: IBls["aggregateSignatures"]; -export let aggregatePubkeys: IBls["aggregatePubkeys"]; -export let verify: IBls["verify"]; -export let verifyAggregate: IBls["verifyAggregate"]; -export let verifyMultiple: IBls["verifyMultiple"]; -export let PrivateKey: IBls["PrivateKey"]; -export let PublicKey: IBls["PublicKey"]; -export let Signature: IBls["Signature"]; +export declare let sign: IBls["sign"]; +export declare let aggregateSignatures: IBls["aggregateSignatures"]; +export declare let aggregatePubkeys: IBls["aggregatePubkeys"]; +export declare let verify: IBls["verify"]; +export declare let verifyAggregate: IBls["verifyAggregate"]; +export declare let verifyMultiple: IBls["verifyMultiple"]; +export declare let PrivateKey: IBls["PrivateKey"]; +export declare let PublicKey: IBls["PublicKey"]; +export declare let Signature: IBls["Signature"]; export default bls;