Migrate to eslint

This commit is contained in:
Chris Svenningsen 2020-09-16 12:31:05 -07:00 committed by Josh Perez
parent 0fe7e30398
commit b4e9c278d3
27 changed files with 104 additions and 71 deletions

View file

@ -5,7 +5,7 @@ import {
verifySignature,
} from 'curve25519-n';
export function keyPair() {
export function keyPair(): Record<string, Buffer> {
const privateKey = randomBytes(32);
const { pubKey, privKey } = generateKeyPair(privateKey);