b2797bbaab
Fixes #4832
17 lines
413 B
Plaintext
17 lines
413 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))
|
|
|