Type Alias OmitStatics<T, S>

OmitStatics: T extends new (...args: A) => R
    ? new (...args: A) => R & Omit<T, S>
    : Omit<T, S>

Extracts non-function property names from type

Type Parameters

  • T
  • S extends string