@ephox/katamari
Advanced tools
Comparing version 2.4.17 to 2.4.18
declare const noop: (...args: any[]) => void; | ||
declare const noarg: <T>(f: () => T) => (...args: any[]) => T; | ||
declare const noarg: <T>(f: () => T) => (...args: any[]) => void; | ||
declare const compose: <T extends any[], U, V>(fa: (v: U) => V, fb: (...x: T) => U) => (...x: T) => V; | ||
@@ -4,0 +4,0 @@ declare const constant: <T>(value?: T) => (...args: any[]) => T; |
@@ -1,16 +0,3 @@ | ||
var noop = function () { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
}; | ||
var noarg = function (f) { | ||
return function () { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
return f(); | ||
}; | ||
}; | ||
var noop = function () { }; | ||
var noarg = function (f) { return function () { return f(); }; }; | ||
var compose = function (fa, fb) { | ||
@@ -17,0 +4,0 @@ return function () { |
{ | ||
"name": "@ephox/katamari", | ||
"version": "2.4.17", | ||
"version": "2.4.18", | ||
"description": "Basic data type library", | ||
@@ -34,3 +34,3 @@ "repository": { | ||
"types": "./lib/main/ts/ephox/katamari/api/Main.d.ts", | ||
"gitHead": "8a4db7a4aff74f3a858d9125c7ab674954b8a33a" | ||
"gitHead": "d0fb3dbe6af35dbc360baa9f44c04dd7c5059f8c" | ||
} |
@@ -1,8 +0,6 @@ | ||
const noop = function (...args: any[]) { }; | ||
const noop: (...args: any[]) => void | ||
= () => { }; | ||
const noarg = function <T> (f: () => T) { | ||
return function (...args: any[]) { | ||
return f(); | ||
}; | ||
}; | ||
const noarg: <T>(f: () => T) => (...args: any[]) => void | ||
= (f) => () => f(); | ||
@@ -9,0 +7,0 @@ const compose = function <T extends any[], U, V> (fa: (v: U) => V, fb: (...x: T) => U): (...x: T) => V { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
876461
13449