Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: be completely independent from typescript (#1433)
Or: to resolve typescript module correctly. The current code still has a "hard" top-level requiring for typescript, which may cause issues when installing ts-node globally and installing typescript locally (i.e. you have to install them both globally or both locally). Since we've already resolving typescript smartly in the code using `loadCompiler`, why not resolving `ScriptTarget` from the resolved one?
- Loading branch information