mirror of
https://github.com/denoland/deno.git
synced 2024-12-13 19:12:20 -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;
|
||
|
}
|