You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ns typings android "androidx.activity:activity" may see <set-?> as value param names. #83
public setMediaType$activity_release(<set-?>: androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType): void;
The <set-?> is invalid. Should print as value.
B
Other entries may print as public createOnBackAnimationCallback(onBackStarted: any<any,any>, onBackProgressed: any<any,any>, onBackInvoked: any, onBackCancelled: any): globalAndroid.window.OnBackInvokedCallback;
where any<any,any> should be just any or proper generic.
C
public static enable($i$a$-also-EdgeToEdge$enableEdgeToEdge$impl$1: androidx.activity.ComponentActivity, it: androidx.activity.SystemBarStyle, view: androidx.activity.SystemBarStyle): void;
can be:
public static enable(activity: androidx.activity.ComponentActivity, it: androidx.activity.SystemBarStyle, view: androidx.activity.SystemBarStyle): void;
D
public onStateChanged(servedView: androidx.lifecycle.LifecycleOwner, $i$a$-synchronized-ImmLeaksCleaner$onStateChanged$1$success$1: androidx.lifecycle.Lifecycle.Event): void;
can be:
public onStateChanged(servedView: androidx.lifecycle.LifecycleOwner, event: androidx.lifecycle.Lifecycle.Event): void;
E
public getDetectDarkMode$activity_release(): any<globalAndroid.content.res.Resources,java.lang.Boolean>;
can be:
public getDetectDarkMode$activity_release(): java.util.HashMap<globalAndroid.content.res.Resources,java.lang.Boolean>;
F
public static auto(lightScrim: number, darkScrim: number, detectDarkMode: any<any,java.lang.Boolean>): androidx.activity.SystemBarStyle;
can be:
public static auto(lightScrim: number, darkScrim: number, detectDarkMode: boolean): androidx.activity.SystemBarStyle;
Fixed in #89 (c10d0bc): Kotlin <set-?> and inlined-lambda parameter names, any<...> leftovers from ignored namespaces, and $$serializer classes now generate valid TypeScript. Parameter names are now looked up by JVM slot, so they're also correct where they used to be shifted.
Activity
fix: generate valid typings for Kotlin libraries (#89)
edusperoni commentedon Nov 8, 2026
Fixed in #89 (c10d0bc): Kotlin
<set-?>and inlined-lambda parameter names,any<...>leftovers from ignored namespaces, and$$serializerclasses now generate valid TypeScript. Parameter names are now looked up by JVM slot, so they're also correct where they used to be shifted.