package fourslash_test import ( "testing" "efprojects.com/kitten-ipc/kitcom/internal/tsgo/fourslash" "efprojects.com/kitten-ipc/kitcom/internal/tsgo/testutil" ) func TestTsxQuickInfo6(t *testing.T) { t.Parallel() t.Skip() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `//@Filename: file.tsx // @jsx: preserve // @noLib: true declare function ComponentSpecific(l: {prop: U}): JSX.Element; declare function ComponentSpecific1(l: {prop: U, "ignore-prop": number}): JSX.Element; function Bar(arg: T) { let a1 = ; // U is number let a2 = ; // U is number let a3 = ; // U is "hello" }` f := fourslash.NewFourslash(t, nil /*capabilities*/, content) f.VerifyQuickInfoAt(t, "1", "function ComponentSpecific(l: {\n prop: number;\n}): JSX.Element", "") f.VerifyQuickInfoAt(t, "2", "function ComponentSpecific(l: {\n prop: never;\n}): JSX.Element", "") }