vendor tsgo

This commit is contained in:
2026-07-09 16:50:43 -04:00
parent c06ea2e5a4
commit 98978e4930
5804 changed files with 1556156 additions and 101 deletions

View File

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