Files
kjol/tools/tsgo/internal/fourslash/tests/gen/quickInfoDisplayPartsExternalModules_test.go
2026-07-09 16:50:43 -04:00

33 lines
1002 B
Go

// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual quickInfoDisplayPartsExternalModules"
package fourslash_test
import (
"testing"
"github.com/microsoft/typescript-go/internal/fourslash"
"github.com/microsoft/typescript-go/internal/testutil"
)
func TestQuickInfoDisplayPartsExternalModules(t *testing.T) {
fourslash.SkipIfFailing(t)
t.Parallel()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `export namespace /*1*/m {
var /*2*/namespaceElemWithoutExport = 10;
export var /*3*/namespaceElemWithExport = 10;
}
export var /*4*/a = /*5*/m;
export var /*6*/b: typeof /*7*/m;
export namespace /*8*/m1./*9*/m2 {
var /*10*/namespaceElemWithoutExport = 10;
export var /*11*/namespaceElemWithExport = 10;
}
export var /*12*/x = /*13*/m1./*14*/m2;
export var /*15*/y: typeof /*16*/m1./*17*/m2;`
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
defer done()
f.VerifyBaselineHover(t)
}