Main.hx:3: characters 36-55 : c : { test : String } -> Void should be Null> Main.hx:3: characters 36-55 : c : { test : String } -> Void should be js.PromiseCallback Main.hx:3: characters 36-55 : c : { test : String } -> Void should be haxe.extern.EitherType Void, Int -> js.Promise> Main.hx:3: characters 36-55 : For function argument 'fulfillCallback'