UNPKG

@lineai/gov-deals

Version:

Explore Federal contracts for government building renovations, city hall renovations, courthouse updates, library modernizations, federal building improvement contracts, base housing and facilities upgrades.

44 lines (43 loc) 1.12 kB
/** * Multiplies a value by 2. (Also a full example of TypeDoc's functionality.) * * ### Example (es module) * ```js * import { double } from 'typescript-starter' * console.log(double(4)) * // => 8 * ``` * * ### Example (commonjs) * ```js * var double = require('typescript-starter').double; * console.log(double(4)) * // => 8 * ``` * * @param value - Comment describing the `value` parameter. * @returns Comment describing the return type. * @anotherNote Some other value. */ export declare const double: (value: number) => number; /** * Raise the value of the first parameter to the power of the second using the * es7 exponentiation operator (`**`). * * ### Example (es module) * ```js * import { power } from 'typescript-starter' * console.log(power(2,3)) * // => 8 * ``` * * ### Example (commonjs) * ```js * var power = require('typescript-starter').power; * console.log(power(2,3)) * // => 8 * ``` * @param base - the base to exponentiate * @param exponent - the power to which to raise the base */ export declare const power: (base: number, exponent: number) => number;