feat: Migrate JavaScript to TypeScript

This commit is contained in:
peaceiris 2019-09-21 06:49:40 +09:00
parent b3cddbe7fa
commit 7b1d8d3b9b
17 changed files with 585 additions and 142 deletions

View file

@ -1,4 +1,4 @@
const getOS = require("../lib/get-os");
import getOS from "../src/get-os";
describe("getOS", () => {
test("test", () => {

View file

@ -1,4 +1,4 @@
const getURL = require("../lib/get-url");
import getURL from "../src/get-url";
describe("getURL()", () => {
test("test", () => {