// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual quickinfoVerbosityNamespace" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestQuickinfoVerbosityNamespace(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `// @filename: /1.ts export {}; class Foo { y: string; } namespace Foo/*1*/ { export var y: number = 1; export var x: string = "hello"; export var w = "world"; var z = 2; } // @filename: /2.ts export namespace Foo { export var y: number = 1; export var x: string = "hello"; } // @filename: /3.ts import * as Foo_1 from "./b"; export declare namespace ns/*2*/ { import Foo = Foo_1.Foo; export { Foo }; export const c: number; export const d = 1; let e: Apple; export let f: Apple; } interface Apple { a: string; } // @filename: /4.ts class Foo { y!: T; } namespace Two/*3*/ { export const f = new Foo(); } // @filename: /5.ts namespace Two { export const g = new Foo(); } // @filename: /6.ts namespace OnlyLocal/*4*/ { const bar: number; } // @filename: foo.ts export function foo() { return "foo"; } import("/*5*/./foo") var x = import("./foo")` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.VerifyBaselineHoverWithVerbosity(t, map[string][]int{"1": {0, 1}, "2": {0, 1, 2}, "3": {0, 1, 2}, "4": {0, 1}, "5": {0, 1}}) }