I noticed that when using the REPL (yarn tsx), most expressions with typeof result in the output line being undefined. If it's in a ternary it seems to be okay, though.
Expected behavior
I expected this to match the behavior of the Node REPL, outputting the resultant value of the expression.
Problem
I noticed that when using the REPL (
yarn tsx
), most expressions withtypeof
result in the output line beingundefined
. If it's in a ternary it seems to be okay, though.Expected behavior
I expected this to match the behavior of the Node REPL, outputting the resultant value of the expression.
Minimal reproduction URL
https://github.com/esbuild-kit/tsx/assets/81224/eacf8fc5-8b7b-4085-b2b9-79a3b6c02d23
Version
v3.13.0
Node.js version
v18.16.1
Package manager
yarn
Operating system
macOS
Contributions