mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 19:43:20 +08:00
parse: Fix test (#19071)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user