Files
tsgo/testdata/baselines/reference/submodule/conformance/asOperator4.symbols
2025-02-26 14:53:49 -08:00

18 lines
394 B
Plaintext

//// [tests/cases/conformance/expressions/asOperator/asOperator4.ts] ////
=== foo.ts ===
export function foo() { }
>foo : Symbol(foo, Decl(foo.ts, 0, 0))
=== bar.ts ===
import { foo } from './foo';
>foo : Symbol(foo, Decl(bar.ts, 0, 8))
// These should emit identically
<any>foo;
>foo : Symbol(foo, Decl(bar.ts, 0, 8))
(foo as any);
>foo : Symbol(foo, Decl(bar.ts, 0, 8))