Merge pull request #2319 from henriiquecampos/patch-2

Fix wrong type on replacing callback's types example
This commit is contained in:
Max Hilbrunner
2019-04-15 15:20:44 +02:00
committed by GitHub
@@ -288,7 +288,7 @@ And the same callback, with type hints:
func _on_area_entered(area: CollisionObject2D) -> void:
pass
Youre free to replace, e.g. the ``PhysicsBody2D``, with your own type,
Youre free to replace, e.g. the ``CollisionObject2D``, with your own type,
to cast parameters automatically:
::