mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -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;
|
||
|
}
|