IDE shows property as any but it has a type defined
Why is discriminator any here? It's supposed to be, and defined, as DiscriminatorObject.
import type { OpenAPIV3_1 } from '@scalar/openapi-types'
const schemas: Record = {}
schemas.foo?.discriminator // <-- discriminator is any, should be DiscriminatorObject

What's going on? Is there a way to make the type work?