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

31 lines
734 B
Go

// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual referencesForInheritedProperties9"
package fourslash_test
import (
"testing"
"github.com/microsoft/typescript-go/internal/fourslash"
"github.com/microsoft/typescript-go/internal/testutil"
)
func TestReferencesForInheritedProperties9(t *testing.T) {
fourslash.SkipIfFailing(t)
t.Parallel()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `class D extends C {
/*1*/prop1: string;
}
class C extends D {
/*2*/prop1: string;
}
var c: C;
c./*3*/prop1;`
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
defer done()
f.VerifyBaselineFindAllReferences(t, "1", "2", "3")
}