mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
36 lines
577 B
TypeScript
36 lines
577 B
TypeScript
//// [tests/cases/compiler/importWithTrailingSlash.ts] ////
|
|
|
|
//// [a.ts]
|
|
export default { a: 0 };
|
|
|
|
//// [index.ts]
|
|
export default { aIndex: 0 };
|
|
|
|
//// [test.ts]
|
|
import a from ".";
|
|
import aIndex from "./";
|
|
a.a;
|
|
aIndex.aIndex;
|
|
|
|
//// [test.ts]
|
|
import a from "..";
|
|
import aIndex from "../";
|
|
a.a;
|
|
aIndex.aIndex;
|
|
|
|
|
|
//// [a.js]
|
|
export default { a: 0 };
|
|
//// [index.js]
|
|
export default { aIndex: 0 };
|
|
//// [test.js]
|
|
import a from ".";
|
|
import aIndex from "./";
|
|
a.a;
|
|
aIndex.aIndex;
|
|
//// [test.js]
|
|
import a from "..";
|
|
import aIndex from "../";
|
|
a.a;
|
|
aIndex.aIndex;
|