swc/tests/fixture/deno-10014/case1/output/index.ts
강동윤 62d0cbcabb
fix(es): Fix sourcemap (#1548)
swc_ecma_codegen:
 - Consider indentions while calculating starting point of source map entries. (denoland/deno#10014)
2021-04-06 11:26:51 +00:00

13 lines
187 B
TypeScript

import "./errors.ts";
function a() {
t();
}
function t(param) {
var x = param === void 0 ? false : param;
if (x) {
throw new Error("Hello");
}
t(!0);
}
a();