Some time last year, I did the following in our fi...
# compose
t
Some time last year, I did the following in our first Compose app:
Copy code
@Composable
private fun PageTab(
   ...
    topRightBadge: @Composable NullaryAction? = null,
)
Where NullaryAction is
Copy code
typealias NullaryAction = () -> Unit
Doing a years worthy of updates, I'm finding this is no longer legal? Can someone help me understand what has changed? Is there a proper way to go forward?
e
Can’t answer the first part but for the second part, if you are convinced you should remove it, it’s possible via IDE to inline the type alias back into its usages in milliseconds, Cmd + Option + N (macOS keyboard layout)