feat: Add PatchExtensions#registerNewPatchOption function to simplify instantiation and registration of patch options

This commit is contained in:
oSumAtrIX
2023-12-22 03:20:50 +01:00
parent 0a482f8c9a
commit 4a9184597b
2 changed files with 3 additions and 1 deletions

View File

@@ -454,7 +454,7 @@ open class PatchOption<T>(
*
* @see PatchOption
*/
private fun <P : Patch<*>, T> P.registerNewPatchOption(
fun <P : Patch<*>, T> P.registerNewPatchOption(
key: String,
default: T? = null,
values: Map<String, T?>? = null,