mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
node-ffi: fixed tests for --noImplicitAny
This commit is contained in:
parent
81628bea7c
commit
004918955f
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user