mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
467 B
Plaintext
17 lines
467 B
Plaintext
//// [tests/cases/conformance/externalModules/nameWithFileExtension.ts] ////
|
|
|
|
=== foo_1.ts ===
|
|
import foo = require('./foo_0.js');
|
|
>foo : Symbol(foo, Decl(foo_1.ts, 0, 0))
|
|
|
|
var x = foo.foo + 42;
|
|
>x : Symbol(x, Decl(foo_1.ts, 1, 3))
|
|
>foo.foo : Symbol(foo.foo, Decl(foo_0.ts, 0, 10))
|
|
>foo : Symbol(foo, Decl(foo_1.ts, 0, 0))
|
|
>foo : Symbol(foo.foo, Decl(foo_0.ts, 0, 10))
|
|
|
|
=== foo_0.ts ===
|
|
export var foo = 42;
|
|
>foo : Symbol(foo, Decl(foo_0.ts, 0, 10))
|
|
|