ts-node
ts-node copied to clipboard
Error when importing module containing decalartion types
When I try to import my module which contains declaration types, it comes out like this:
> import gcrypt from "./index"
/data/data/com.termux/files/home/go-crypt/<repl>.ts:2
export {};
^^^^^^
Uncaught SyntaxError: Unexpected token 'export'
Please fix this issue quickly 🙏🏻