Properties in object literal key completion list aren't filtered when a prior argument supplies a mapped type key #35702
Labels
Bug
A bug in TypeScript
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Milestone
Steps to Reproduce:
>> Playground Link
The type of
props
in thecreate
call is correctly narrowed down toCustomElements['component-one']
by the type system, however Intellisense suggests the props of all fields ofCustomElements
:This does not happen when creating an object of that type:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: