I'm having a similar issue to #27. I run tsun file.ts and get
Cannot find global value 'Promise'.
file.ts (93,14): 'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.
file.ts (280,18): An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option.
...
I have a tsconfig.json file in the same folder with the following contents
I'm having a similar issue to #27. I run
tsun file.ts
and getI have a
tsconfig.json
file in the same folder with the following contentsI'm using the following versions
How do I tell
tsun
to use thees6
target?