drop the casts the dual-world layer needed
With every producer on the generated lexicons, the branded-string assertions at these 30 sites are no-ops, and oxlint flags them. Also sorts the imports the type flip disturbed and prunes the suppressions that no longer occur. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {type AtIdentifierString, AtUri} from '@atproto/syntax'
|
||||
import {AtUri} from '@atproto/syntax'
|
||||
import {useMutation} from '@tanstack/react-query'
|
||||
|
||||
import {until} from '#/lib/async/until'
|
||||
@@ -51,7 +51,7 @@ export function useVerificationsRemoveMutation() {
|
||||
() => {
|
||||
return appviewClient.call(app.bsky.actor.getProfile, {
|
||||
// the profile view is still legacy-typed, so its did is unbranded
|
||||
actor: (profile.did ?? '') as AtIdentifierString,
|
||||
actor: profile.did ?? '',
|
||||
})
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user