Vibrant-Colors / node-vibrant

🎨 Extract prominent colors from an image
MIT License
2.01k stars 107 forks source link

Fixes yarn run build:browser #120

Closed jjaffeux closed 3 years ago

jjaffeux commented 3 years ago

Before this fix build would fail with this error:

ERROR in /Users/joffreyjaffeux/Projects/node-vibrant/src/test/common/server.ts
[tsl] ERROR in /Users/joffreyjaffeux/Projects/node-vibrant/src/test/common/server.ts(9,42)
      TS2345: Argument of type '(err: any) => void' is not assignable to parameter of type '() => void'.
crutchcorn commented 3 years ago

Thanks for the contribution!