// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual quickInfoJsDocNonDiscriminatedUnionSharedProp" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestQuickInfoJsDocNonDiscriminatedUnionSharedProp(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `// @strict: false interface Entries { /** * Plugins info... */ plugins?: Record>; /** * Output info... */ output?: string; /** * Format info... */ format?: string; } interface Input extends Entries { /** * Input info... */ input: string; } interface Types extends Entries { /** * Types info... */ types: string; } type EntriesOptions = Input | Types; const options: EntriesOptions[] = [ { input: "./src/index.ts", /*1*/output: "./dist/index.mjs", }, { types: "./src/types.ts", format: "esm", }, ];` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.VerifyQuickInfoAt(t, "1", "(property) Entries.output?: string", "Output info...") }