16 lines
411 B
Plaintext
16 lines
411 B
Plaintext
=== tests/cases/conformance/expressions/asOperator/foo.ts ===
|
|
export function foo() { }
|
|
>foo : Symbol(foo, Decl(foo.ts, 0, 0))
|
|
|
|
=== tests/cases/conformance/expressions/asOperator/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))
|
|
|