Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas

PatilShreyas/Typealias.kt.diff Secret

Last active Dec 24, 2020
Embed
What would you like to do?
+ typealias Features = Map<String, List<String>>
fun main() {
- val langFeatures: Map<String, List<String>> = mapOf("kotlin" to listOf("extension fun", "inline fun"))
+ val langFeatures: Features = mapOf("kotlin" to listOf("extension fun", "inline fun"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment