Change JS AbstractMutableCollection.toJSON() visibility modifier from open to protected

This commit is contained in:
Abduqodiri Qurbonzoda
2021-09-01 11:23:39 +03:00
committed by Space
parent a90117faa2
commit a3eaa3e0f9
4 changed files with 25 additions and 3 deletions
@@ -54,8 +54,9 @@ public actual abstract class AbstractMutableCollection<E> protected actual const
}
}
@Deprecated("Provided so that subclasses inherit this function", level = DeprecationLevel.HIDDEN)
@JsName("toJSON")
open fun toJSON(): Any = this.toArray()
protected fun toJSON(): Any = this.toArray()
/**