yep, this works: ``` @Retention(AnnotationRetentio...
# android
l
yep, this works:
Copy code
@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.TYPE)
annotation class StringRes {
}

typealias Foo = (@StringRes Int) -> Int
t
Opened an issue for this: https://issuetracker.google.com/issues/109714923 Maybe android team will add it.
👍 4
l