修复Mac下的命令行注释启动

This commit is contained in:
Titor 2021-02-25 18:10:27 +08:00
parent dc20432421
commit 9b957651b4
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#! node
#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var koa_1 = require("./koa");
const koa_1 = require("./koa");
new koa_1.Koa();

View File

@ -1,4 +1,4 @@
#! node
import { Koa } from "./koa";
#!/usr/bin/env node
import { Koa } from "./koa";
new Koa()