Skip to content

Commit 42d70e5

Browse files
committed
feat(dev): use --experimental-transform-types
1 parent 12d4b4c commit 42d70e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/dev.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ export async function dev(ctx: CommandContext) {
66
const { args } = ctx;
77
const [file = "./src/index.ts", ...rest] = args;
88
// console.clear();
9-
console.log(`node --experimental-strip-types --no-warnings ${args.join(" ")}`);
9+
console.log(`node --experimental-transform-types --disable-warning=ExperimentalWarning ${args.join(" ")}`);
1010
const stdio = x("node", [
11-
"--experimental-strip-types",
11+
"--experimental-transform-types",
1212
"--no-warnings",
1313
"--watch-path=./src/",
1414
file,

0 commit comments

Comments
 (0)