From 88e6d95fb47f2fde05bc5d4ed24bfc3fbe400853 Mon Sep 17 00:00:00 2001 From: Erick Sosa Garcia Date: Mon, 14 Sep 2020 22:58:47 -0400 Subject: [PATCH] fix: import type error in deno v1.4 --- cli.ts | 2 +- egg.json | 2 +- src/maven.ts | 2 +- src/merlin.ts | 2 +- src/types.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli.ts b/cli.ts index 298df15..b30efa8 100644 --- a/cli.ts +++ b/cli.ts @@ -25,7 +25,7 @@ async function main() { } } else if (command === "help") { const info = [ - colors.green("merlin test runner v1.0.2 🧪\n"), + colors.green("merlin test runner v1.0.3 🧪\n"), colors.green("usage:"), `merlin ${colors.yellow("test")} ...allow-flags\n`, colors.green("example:"), diff --git a/egg.json b/egg.json index 424312d..aca1a6d 100644 --- a/egg.json +++ b/egg.json @@ -1,7 +1,7 @@ { "name": "merlin", "description": "Testing and Benchmarking framework for deno 🧙‍♂️", - "version": "1.0.2", + "version": "1.0.3", "entry": "./mod.ts", "stable": true, "unlisted": false, diff --git a/src/maven.ts b/src/maven.ts index f26b44d..1cf3dad 100644 --- a/src/maven.ts +++ b/src/maven.ts @@ -12,7 +12,7 @@ import { } from "../imports/pretty_benching.ts"; import { colors } from "../imports/fmt.ts"; import { bench } from "../imports/testing.ts"; -import { Thresholds, Bench } from "./types.ts"; +import type { Thresholds, Bench } from "./types.ts"; export class Maven { private bench = bench.bench; diff --git a/src/merlin.ts b/src/merlin.ts index 2faf94b..b2662ac 100644 --- a/src/merlin.ts +++ b/src/merlin.ts @@ -8,7 +8,7 @@ import { asserts } from "../imports/testing.ts"; -import { +import type { ArrayContains, Config, Fetch_equal, diff --git a/src/types.ts b/src/types.ts index 14230a0..339a6d0 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -import { bench } from "../imports/testing.ts"; +import type { bench } from "../imports/testing.ts"; export interface testConfig { ignore?: boolean;