16 lines
413 B
Text
16 lines
413 B
Text
=== 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))
|
|
|