Fix eslint

This commit is contained in:
morrigan 2019-12-02 12:53:27 +01:00
parent fc71a22a6c
commit bd53cb16fd

View File

@ -7,7 +7,7 @@ interface ReturnEncryptionWrapper {
}
// Returns generator that encrypts payload from the user
export function encryptStream(handshake: Handshake): ReturnEncryptionWrapper {
export function encryptStream(handshake: Handshake): ReturnEncryptionWrapper {
return async function * (source) {
for await (const chunk of source) {
const chunkBuffer = Buffer.from(chunk);