TehShrike / tsx_issue_86_repro

Reproduction of issue 86

Home Page:https://github.com/esbuild-kit/tsx/issues/86

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To reproduce

pnpm i or npm i

then

npm t

The test script runs tsx entry.mjs, which contains import should_be_a_function from './imported'.

Expected behavior: should_be_a_function should be a function.

Observed behavior: should_be_a_function is an object with a default property.

About

Reproduction of issue 86

https://github.com/esbuild-kit/tsx/issues/86


Languages

Language:JavaScript 85.6%Language:TypeScript 14.4%