basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

support hover on inline `TypedDict` keys

Open DetachHead opened this issue 4 months ago • 0 comments

looks like hover doesn't work for keys on the new experimental inline TypedDict syntax:

type C = TypedDict[{"a": int, "b": float}]

though this feature is still experimental and is only available when you turn on enableExperimentalFeatures. so it's totally fine to not bother adding support for it. this thread is just a reminder for myself to open a follow-up issue for it

Originally posted by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1576#discussion_r2463200066

DetachHead avatar Oct 27 '25 09:10 DetachHead