Skip to content

Commit

Permalink
Update property-type.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 authored Dec 2, 2024
1 parent 63c2cf6 commit e932662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions learning/code-style/property-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ sidebar_position: 3
```kotlin
val usersList = listOf<User>()
val count = 100
val productList = domainProducts.map(::domainToProduct)
val messageText = message.text
val productList: List<Product> = domainProducts.map(::domainToProduct)
val messageText: String = message.text
```

0 comments on commit e932662

Please sign in to comment.