swc/spack/tests/pass/issue-1138/example-1/input/entry.js

7 lines
116 B
JavaScript
Raw Normal View History

import { a as defaultA } from "./l.ts";
const o: { a?: string } = {};
const { a = defaultA } = o;
console.log(a);