• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1const message = 'Message ' + Math.random();
2
3export async function Throw() {
4  throw new Error(message)
5}
6
7await Throw();
8
9// To recreate:
10//
11// npx tsc --module esnext --target es2017 --outDir test/fixtures/source-map --sourceMap test/fixtures/source-map/throw-async.ts
12// + rename js to mjs
13// + rename js to mjs in source map comment in mjs file