Skip to content

Commit e932662

Browse files
authored
Update property-type.md
1 parent 63c2cf6 commit e932662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

learning/code-style/property-type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ sidebar_position: 3
5050
```kotlin
5151
val usersList = listOf<User>()
5252
val count = 100
53-
val productList = domainProducts.map(::domainToProduct)
54-
val messageText = message.text
53+
val productList: List<Product> = domainProducts.map(::domainToProduct)
54+
val messageText: String = message.text
5555
```

0 commit comments

Comments
 (0)