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

33 lines
786 B
Go

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