I am trying to create this type reference:
Parameters<Foo['bar']>[0]
how do I achieve this using ts.createTypeReferenceNode?
ts.createTypeReferenceNode('Parameters', [
ts.createTypeReferenceNode(`Foo['bar']`, []),
])
allows no array access.