useConfigurationType

inline fun <T : RootConfig> TegralApplicationDsl.useConfigurationType(noinline configuration: ConfigLoaderBuilder.() -> Unit = {})

Equivalent to TegralApplicationDsl.useConfigurationClass, but uses a reified type instead.

For example, useConfigurationClass<MyConfig>() is strictly equivalent to calling useConfigurationClass(MyConfig::class).