Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Mar 11, 2024
1 parent a2f04cc commit 18474e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions lib/versions.test.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
8 changes: 0 additions & 8 deletions lib/versions.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 18474e7

Please sign in to comment.