Skip to content

Commit

Permalink
fix: Fix typing of ObservablePoint<T>.clone() to return ObservablePoi…
Browse files Browse the repository at this point in the history
…nt<T>.
  • Loading branch information
Ayfri committed Aug 31, 2022
1 parent 02833f7 commit d43f1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pixi/src/main/kotlin/pixi/typings/math/typings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ open external class ObservablePoint<T /* = Any */>(cb: (self: T) -> Any?, scope:
override var x: Double
override var y: Double

open fun clone(cb: (`this`: T) -> Any? = definedExternally, scope: Any? = definedExternally): ObservablePoint<Any?>
open fun clone(cb: (`this`: T) -> Any? = definedExternally, scope: Any? = definedExternally): ObservablePoint<T>
override fun set(x: Double, y: Double): ObservablePoint<T> /* this */
override fun copyFrom(p: IPointData): ObservablePoint<T> /* this */
override fun <T : IPoint> copyTo(p: T): T
Expand Down

0 comments on commit d43f1b6

Please sign in to comment.