Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/tests/specs/test/doc_ts_namespace_decl/lib.d.ts>MyNamespace.add

A modern runtime for JavaScript and TypeScript.
Go to Latest
function MyNamespace.add
import { MyNamespace } from "https://deno.land/x/deno@v2.0.4/tests/specs/test/doc_ts_namespace_decl/lib.d.ts";
const { add } = MyNamespace;
import { assertEquals } from "@std/assert/equals";
import "./mod.js";

assertEquals(MyNamespace.add(1, 2), 3);

Parameters

a: number
b: number

Returns

number