From d55b767039605256c736166a942a9138e3eacfd7 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 29 Jun 2025 11:49:28 -0700 Subject: remove dev node_modules (oops) --- node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts (limited to 'node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts') diff --git a/node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts b/node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts deleted file mode 100644 index ded1420..0000000 --- a/node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { OperatorFunction } from "../types"; -import { map } from "../operators/map"; - -const { isArray } = Array; - -function callOrApply(fn: ((...values: T[]) => R), args: T|T[]): R { - return isArray(args) ? fn(...args) : fn(args); -} - -/** - * Used in several -- mostly deprecated -- situations where we need to - * apply a list of arguments or a single argument to a result selector. - */ -export function mapOneOrManyArgs(fn: ((...values: T[]) => R)): OperatorFunction { - return map(args => callOrApply(fn, args)) -} \ No newline at end of file -- cgit v1.2.3