31 lines
937 B
Go
31 lines
937 B
Go
// Code generated by convertFourslash; DO NOT EDIT.
|
|
// To modify this test, run "npm run makemanual goToSource11_propertyOfAlias"
|
|
|
|
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/microsoft/typescript-go/internal/fourslash"
|
|
"github.com/microsoft/typescript-go/internal/testutil"
|
|
)
|
|
|
|
func TestGoToSource11_propertyOfAlias(t *testing.T) {
|
|
fourslash.SkipIfFailing(t)
|
|
t.Parallel()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `// @lib: es5
|
|
// @moduleResolution: bundler
|
|
// @Filename: /home/src/workspaces/project/a.js
|
|
export const a = { /*end*/a: 'a' };
|
|
// @Filename: /home/src/workspaces/project/a.d.ts
|
|
export declare const a: { a: string };
|
|
// @Filename: /home/src/workspaces/project/b.ts
|
|
import { a } from './a';
|
|
a.[|a/*start*/|]`
|
|
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
defer done()
|
|
f.MarkTestAsStradaServer()
|
|
f.VerifyBaselineGoToSourceDefinition(t, "start")
|
|
}
|