mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* Add failing test * fix typo in failing test * fix bug * fix test runIf filter * fix * fix * lint
7 lines
235 B
TypeScript
7 lines
235 B
TypeScript
import foo from 'foo';
|
|
|
|
// This file is ESM, so if typechecker's resolver is working correctly, will
|
|
// resolve to the foo's package.json "exports" mapping for "default", not "require"
|
|
const bar: { esm: true } = foo;
|
|
console.log(bar);
|