diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/moduleConfigurators/TargetConfigurator.kt b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/moduleConfigurators/TargetConfigurator.kt index fa4f2fa31bf..7a926d33e4f 100644 --- a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/moduleConfigurators/TargetConfigurator.kt +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/moduleConfigurators/TargetConfigurator.kt @@ -25,7 +25,7 @@ interface SingleCoexistenceTargetConfigurator : TargetConfigurator { other.none { it == this } } -interface SimpleTargetConfigurator : TargetConfigurator { +interface SimpleTargetConfigurator : TargetConfigurator, SingleCoexistenceTargetConfigurator { val moduleSubType: ModuleSubType override val moduleType get() = moduleSubType.moduleType override val id get() = "${moduleSubType.name}Target" @@ -49,7 +49,7 @@ private fun Module.createTargetAccessIr(moduleSubType: ModuleSubType) = ) -interface JsTargetConfigurator : TargetConfigurator { +interface JsTargetConfigurator : TargetConfigurator, SingleCoexistenceTargetConfigurator { override val moduleType: ModuleType get() = ModuleType.js }