Removed intersectionWith (#45349)

This commit is contained in:
qxg 2020-07-08 03:17:38 +08:00 committed by GitHub
parent 5a1cd665cd
commit da25db9a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 14 deletions

View File

@ -89,7 +89,6 @@ es/innerJoin.d.ts
es/insertAll.d.ts
es/insert.d.ts
es/intersection.d.ts
es/intersectionWith.d.ts
es/intersperse.d.ts
es/into.d.ts
es/invert.d.ts
@ -343,7 +342,6 @@ src/innerJoin.d.ts
src/insertAll.d.ts
src/insert.d.ts
src/intersection.d.ts
src/intersectionWith.d.ts
src/intersperse.d.ts
src/into.d.ts
src/invert.d.ts

View File

@ -1,2 +0,0 @@
import { intersectionWith } from '../index';
export default intersectionWith;

View File

@ -816,14 +816,6 @@ export function insertAll(index: number): <T>(elts: readonly T[], list: readonly
export function intersection<T>(list1: readonly T[], list2: readonly T[]): T[];
export function intersection<T>(list1: readonly T[]): (list2: readonly T[]) => T[];
/**
* Combines two lists into a set (i.e. no duplicates) composed of those
* elements common to both lists. Duplication is determined according
* to the value returned by applying the supplied predicate to two list
* elements.
*/
export function intersectionWith<T>(pred: (a: T, b: T) => boolean, list1: readonly T[], list2: readonly T[]): T[];
/**
* Creates a new list with the separator interposed between elements.
*/

View File

@ -1,2 +0,0 @@
import { intersectionWith } from '../index';
export default intersectionWith;