fix type errors

This commit is contained in:
Marin Petrunić
2020-06-19 13:23:18 +02:00
parent e16e25cbef
commit 153f51ae5a
3 changed files with 14 additions and 12 deletions

View File

@ -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