swc/bundler/tests/fixture/deno-9219/case1/input/entry.ts
강동윤 6a1c3da326
fix(bundler): Fix bugs (#1346)
swc_bundler:
 - Fix keywords pass.

swc_ecma_transforms_optimization:
 - Remove `dbg!`.
 - `constant_propagation`: Inline only injected variables.
2021-01-22 18:39:57 +09:00

21 lines
352 B
TypeScript

import { parse } from "https://deno.land/std@0.84.0/flags/mod.ts";
const args = parse(Deno.args, {
boolean: [
"help",
"verbose",
],
alias: {
help: "h",
verbose: "v",
},
default: {
verbose: false,
},
}) as {
_: string[];
help: boolean;
verbose: boolean;
};
console.dir(args);