Closed GarkGarcia closed 5 years ago
I figured it out. The problem is toIco()
takes a Buffer[]
as an argument, but the documentation says it takes a string[]
:
toIco(input, [options])
input Type:
Array
string
I believe the docs should say something like the following:
toIco(input, [options])
input Type:
Array<Buffer>
I'm getting the following error when calling
toIco(arr: string[])
...Am I doing something wrong?