diff --git a/types/parse/parse-tests.ts b/types/parse/parse-tests.ts index ad1a2a2a83..e380188f72 100644 --- a/types/parse/parse-tests.ts +++ b/types/parse/parse-tests.ts @@ -37,7 +37,9 @@ function test_object() { var game = new Game(); - game.fetch((g: Game) => {}); + game.fetch({ + success(g: Game) {} + }); // Create a new instance of that class. var gameScore = new GameScore();