Verified Commit cb84746f authored by Samuel Elliott's avatar Samuel Elliott
Browse files

Fix type error

parent cc53e86e
......@@ -211,7 +211,7 @@ export class DesigncryptStream extends Transform {
constructor(readonly keypair: tweetnacl.BoxKeyPair, sender?: Uint8Array | null) {
super();
this.sender = sender;
this.sender = sender ?? null;
}
get header() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment