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,45 @@
// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual quickinfoVerbosityTruncation1"
package fourslash_test
import (
"testing"
"github.com/microsoft/typescript-go/internal/fourslash"
"github.com/microsoft/typescript-go/internal/testutil"
)
func TestQuickinfoVerbosityTruncation1(t *testing.T) {
fourslash.SkipIfFailing(t)
t.Parallel()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `type Str = string | {};
type FooType = Str | number;
type Sym = symbol | (() => void);
type BarType = Sym | boolean;
interface LotsOfProps {
someLongPropertyName1: Str;
someLongPropertyName2: FooType;
someLongPropertyName3: Sym;
someLongPropertyName4: BarType;
someLongPropertyName5: Str;
someLongPropertyName6: FooType;
someLongPropertyName7: Sym;
someLongPropertyName8: BarType;
someLongMethodName1(a: FooType, b: BarType): Sym;
someLongPropertyName9: Str;
someLongPropertyName10: FooType;
someLongPropertyName11: Sym;
someLongPropertyName12: BarType;
someLongPropertyName13: Str;
someLongPropertyName14: FooType;
someLongPropertyName15: Sym;
someLongPropertyName16: BarType;
someLongMethodName2(a: FooType, b: BarType): Sym;
}
const obj1/*o1*/: LotsOfProps = undefined as any as LotsOfProps;`
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
defer done()
f.VerifyBaselineHoverWithVerbosity(t, map[string][]int{"o1": {0, 1}})
}