mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
bbaf619f63
swc_bundler: - [x] Fix wrapped esms. (denoland/deno#9307) - [x] Make test secure.
24 lines
359 B
TypeScript
24 lines
359 B
TypeScript
// Loaded from https://deno.land/x/ramda@v0.27.2/source/inc.js
|
|
|
|
|
|
import add from './add.js';
|
|
|
|
|
|
/**
|
|
* Increments its argument.
|
|
*
|
|
* @func
|
|
* @memberOf R
|
|
* @since v0.9.0
|
|
* @category Math
|
|
* @sig Number -> Number
|
|
* @param {Number} n
|
|
* @return {Number} n + 1
|
|
* @see R.dec
|
|
* @example
|
|
*
|
|
* R.inc(42); //=> 43
|
|
*/
|
|
var inc = add(1);
|
|
export default inc;
|