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

22 lines
647 B
Go

// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual numericPropertyNames"
package fourslash_test
import (
"testing"
"github.com/microsoft/typescript-go/internal/fourslash"
"github.com/microsoft/typescript-go/internal/testutil"
)
func TestNumericPropertyNames(t *testing.T) {
fourslash.SkipIfFailing(t)
t.Parallel()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `var /**/t2 = { 0: 1, 1: "" };`
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
defer done()
f.VerifyQuickInfoAt(t, "", "var t2: {\n 0: number;\n 1: string;\n}", "")
}