summaryrefslogtreecommitdiff
path: root/tests/specs/test/doc_ts_namespace_decl/lib.d.ts
blob: e7c81cb5f14477785c009806457e183351ea53b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
declare namespace MyNamespace {
  /**
   * ```ts
   * import { assertEquals } from "@std/assert/equals";
   * import "./mod.js";
   *
   * assertEquals(MyNamespace.add(1, 2), 3);
   * ```
   */
  export function add(a: number, b: number): number;
}