vendor tsgo
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual quickInfoForAliasedGeneric"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestQuickInfoForAliasedGeneric(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `namespace M {
|
||||
export namespace N {
|
||||
export class C<T> { }
|
||||
export class D { }
|
||||
}
|
||||
}
|
||||
import d = M.N;
|
||||
var /*1*/aa: d.C<number>;
|
||||
var /*2*/bb: d.D;`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.VerifyQuickInfoAt(t, "1", "var aa: d.C<number>", "")
|
||||
f.VerifyQuickInfoAt(t, "2", "var bb: d.D", "")
|
||||
}
|
||||
Reference in New Issue
Block a user