summaryrefslogtreecommitdiff
path: root/tests/specs/test/doc_ts_declare_global/lib.d.ts
blob: a5f442910005b9eed876ea3fb8e8001082955cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export {};

declare global {
  /**
   * ```ts
   * import { assertEquals } from "@std/assert/equals";
   * import "./mod.js";
   *
   * assertEquals(myFunction(1, 2), 3);
   * ```
   */
  export function myFunction(a: number, b: number): number;
}