mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
dcebe5348d
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: RyanCavanaugh <[email protected]> Co-authored-by: Ryan Cavanaugh <[email protected]>
19 lines
342 B
TypeScript
19 lines
342 B
TypeScript
// @module: node16
|
|
// @declaration: true
|
|
// @traceResolution: true
|
|
// @filename: package.json
|
|
{
|
|
"name": "package",
|
|
"private": true,
|
|
"type": "module",
|
|
"imports": {
|
|
"#/*": "./src/*"
|
|
}
|
|
}
|
|
// @filename: src/foo.ts
|
|
export const foo = "foo";
|
|
// @filename: index.ts
|
|
// esm format file
|
|
import { foo } from "#/foo.js";
|
|
foo;
|