// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual jsDocPropertyDescription1" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestJsDocPropertyDescription1(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `interface StringExample { /** Something generic */ [p: string]: any; /** Something specific */ property: number; } function stringExample(e: StringExample) { console.log(e./*property*/property); console.log(e./*string*/anything); }` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.VerifyQuickInfoAt(t, "property", "(property) StringExample.property: number", "Something specific") f.VerifyQuickInfoAt(t, "string", "(index) StringExample[string]: any", "Something generic") }