diff options
Diffstat (limited to 'std/hash')
-rw-r--r-- | std/hash/_wasm/hash.ts | 2 | ||||
-rw-r--r-- | std/hash/mod.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/std/hash/_wasm/hash.ts b/std/hash/_wasm/hash.ts index d04a4d4a0..43ddf77f3 100644 --- a/std/hash/_wasm/hash.ts +++ b/std/hash/_wasm/hash.ts @@ -10,7 +10,7 @@ import init, { import * as hex from "../../encoding/hex.ts"; import * as base64 from "../../encoding/base64.ts"; -import { Hasher, Message, OutputFormat } from "../hasher.ts"; +import type { Hasher, Message, OutputFormat } from "../hasher.ts"; await init(source); diff --git a/std/hash/mod.ts b/std/hash/mod.ts index 946769f03..06c9ce439 100644 --- a/std/hash/mod.ts +++ b/std/hash/mod.ts @@ -1,9 +1,9 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { Hash } from "./_wasm/hash.ts"; -import { Hasher } from "./hasher.ts"; +import type { Hasher } from "./hasher.ts"; -export { Hasher } from "./hasher.ts"; +export type { Hasher } from "./hasher.ts"; export type SupportedAlgorithm = | "md2" | "md4" |