/* * Created by Ivan Sanz (@isc30) * Copyright © 2017 Ivan Sanz Carasa. All rights reserved. */ export type Dynamic = any; export type Type = "string" | "number" | "boolean" | "symbol" | "undefined" | "object" | "function" | "bigint"; export type Indexer = number | string; export type Primitive = number | string | boolean; export type Selector = (element: TElement) => TOut; export type ZipSelector = (first: TElement, second: TOther) => TOut; export type Predicate = Selector; export type Aggregator = (previous: TValue, current: TElement) => TValue; export type Action = (element: TElement, index: number) => void;