diff --git a/node-ffi/node-ffi-tests.ts b/node-ffi/node-ffi-tests.ts index c646af703a..407036d393 100644 --- a/node-ffi/node-ffi-tests.ts +++ b/node-ffi/node-ffi-tests.ts @@ -26,7 +26,7 @@ import TArray = require('ref-array'); { var func = ffi.ForeignFunction(new Buffer(10), 'int', [ 'int' ]); func(-5); - func.async(-5, function(err, res) {}); + func.async(-5, function(err: any, res: any) {}); } { var printfPointer = ffi.DynamicLibrary().get('printf');