mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
12 lines
249 B
TypeScript
12 lines
249 B
TypeScript
|
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;
|
||
|
}
|