diff --git a/lib/versions.test.ts b/lib/versions.test.ts index 1b6e369..3af1f73 100644 --- a/lib/versions.test.ts +++ b/lib/versions.test.ts @@ -1,5 +1,13 @@ // Copyright 2018-2024 the Deno authors. MIT license. +/** + * This module contains logic for ensuring that some other Rust dependencies + * are using the correct version of the wasm-bindgen crate. Mismatches in + * versions can cause runtime errors that are difficult to troubleshoot. + * + * @see {@link https://github.com/rustwasm/wasm-bindgen/pull/2913#issuecomment-1139100835} + */ + import { assertThrows } from "@std/assert/assert_throws"; import { verifyVersions } from "./versions.ts"; diff --git a/lib/versions.ts b/lib/versions.ts index eed098a..7181122 100644 --- a/lib/versions.ts +++ b/lib/versions.ts @@ -1,13 +1,5 @@ // Copyright 2018-2024 the Deno authors. MIT license. -/** - * This module contains logic for ensuring that some other Rust dependencies - * are using the correct version of the wasm-bindgen crate. Mismatches in - * versions can cause runtime errors that are difficult to troubleshoot. - * - * @see {@link https://github.com/rustwasm/wasm-bindgen/pull/2913#issuecomment-1139100835} - */ - interface WasmCrate { name: string; getDependencyVersion(name: string): string | undefined;