diff --git a/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/templates/ModuleDestinationsTemplate.kt b/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/templates/ModuleDestinationsTemplate.kt index 4a188fc0..138c334b 100644 --- a/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/templates/ModuleDestinationsTemplate.kt +++ b/compose-destinations-codegen/src/main/java/com/ramcosta/composedestinations/codegen/templates/ModuleDestinationsTemplate.kt @@ -18,7 +18,7 @@ val moduleDestinationTemplate = FileTemplate( ), sourceCode = """ ${REQUIRE_OPT_IN_ANNOTATIONS_PLACEHOLDER}public data object $MODULE_DESTINATIONS_CLASS_NAME_PLACEHOLDER : ModuleDestinationsContainer { - public override val destinations = listOf( + public override val destinations: List = listOf( $MODULE_DESTINATIONS_PLACEHOLDER )