tsx icon indicating copy to clipboard operation
tsx copied to clipboard

⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM

Results 108 tsx issues
Sort by recently updated
recently updated
newest added

### Bug description A file at `./file.tsx` should be importable in TS as `./file.js` or `./file.jsx`, but tsx does not support either. ### Reproduction ```bash git clone https://github.com/itsMapleLeaf/tsx-tsx-bug cd tsx-tsx-bug...

bug

Cannot import named export from a typescript file in a workspace package if entry is using es modules and other package is not. tsx will throw ``` SyntaxError: The requested...

bug
interop

### Bug description **What did you do? (Provide reproduction code in next section)** Ran `tsx --inspect watch src/index.ts` **What did you expect to happen?** Code the execute successfully, in watch...

bug
pending triage

### Feature request i love tsx and would like to sponsor you on github ### Why? . ### Alternatives ### Additional context _No response_

enhancement
pending triage

### Bug description Esbuild supports the alwaysStrict compiler option https://github.com/evanw/esbuild/blob/9860ee3b1ff83b7c6e8889e96da42add36d50ba3/internal/resolver/tsconfig_json.go#L40 However this does not appear to be supported in tsx. It's possible that this is related to https://github.com/nodejs/node/issues/30039 ### Reproduction...

blocked

### Feature request Add ability to pass `exclude` flag to `watch` ### Why? When `tsx` is used on a script that creates its dependencies, `exclude` option is required to ignore...

enhancement
pr welcome

### Bug description - What did you expect to happen? Supports default imports even for `cjs`. - What happened instead? Default imports are retrieved at object. ```js { default: 'hi'...

bug
interop

### Feature request Using `tsx` it’s possible to write `import … from './index.js'`. It’s ok if `index.js` doesn’t exist, but only `index.ts`. It will just resolve to that. If `package.json`...

enhancement
pr welcome
resolver

Failing test for https://github.com/esbuild-kit/tsx/issues/38