<@U6CAGJDJP> Try this: ``` inline fun &lt;reified ...
# kodein
s
@jdorleans Try this:
Copy code
inline fun <reified A1: Any, reified A2: Any> with(v1: A1, v2: A2) = kodein.with(Pair(v1, v2))
Which you can then use with:
Copy code
val myProp: MyType = with(cls, true).instance()