swc/bundler/tests/deno-exec/deno-8224/case4/a.ts
강동윤 0d130f8103
fix(bundler): Prevent hanging (#1369)
swc_bundler:
 - Prevent infinite loop.
2021-01-30 13:35:07 +09:00

12 lines
196 B
TypeScript

import { showList } from "./b";
export const showValue = (v: number): string => {
if (v === 0) {
return showList([v]);
}
return `${v}`;
};
console.log(showList([1, 2, 3]));