mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-12 12:41:42 +00:00
fix type errors
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
export class FailedIKError extends Error {
|
||||
public initialMsg: string;
|
||||
import BufferList from 'bl'
|
||||
|
||||
constructor (initialMsg: string, message?: string) {
|
||||
export class FailedIKError extends Error {
|
||||
public initialMsg: string|BufferList|Buffer;
|
||||
|
||||
constructor (initialMsg: string|BufferList|Buffer, message?: string) {
|
||||
super(message)
|
||||
|
||||
this.initialMsg = initialMsg
|
||||
|
Reference in New Issue
Block a user