Index

tsz is 3.7x faster 69 lines 1 KB

Timing

tsz
208.02ms
tsgo
766.47ms

Files

/**
 * @author Piotr Witek <piotrek.witek@gmail.com> (http://piotrwitek.github.io)
 * @copyright Copyright (c) 2016 Piotr Witek
 * @license MIT
 */

export {
  $Call,
  $Diff,
  $ElementType,
  $Keys,
  $NonMaybeType,
  $PropertyType,
  $ReadOnly,
  $Shape,
  $Values,
  Class,
} from './utility-types';

export {
  Assign,
  Brand,
  DeepNonNullable,
  DeepPartial,
  DeepReadonly,
  DeepRequired,
  Diff,
  FunctionKeys,
  Intersection,
  Mutable,
  MutableKeys,
  NonFunctionKeys,
  NonUndefined,
  Omit,
  OmitByValue,
  OmitByValueExact,
  OptionalKeys,
  Overwrite,
  Optional,
  PickByValue,
  PickByValueExact,
  PromiseType,
  ReadonlyKeys,
  AugmentedRequired as Required,
  RequiredKeys,
  SetComplement,
  SetDifference,
  SetIntersection,
  Subtract,
  SymmetricDifference,
  Unionize,
  UnionToIntersection,
  ValuesType,
  Writable,
  WritableKeys,
} from './mapped-types';

export {
  Falsy,
  Falsy as Falsey, // deprecated in v3, backward compatibility until v4
  isFalsy,
  Nullish,
  isNullish,
  Primitive,
  isPrimitive,
} from './aliases-and-guards';

// deprecated
export { getReturnOfExpression } from './functional-helpers';