PokéRogue
    Preparing search index...

    Type Alias NonFunctionProperties<T>

    NonFunctionProperties: {
        [K in keyof T as T[K] extends AnyFn ? never : K]: T[K]
    }

    Type helper to extract non-function properties from a type.

    Type Parameters

    • T

    Useful to produce a type that is roughly the same as the type of {... obj}, where obj is an instance of T. A couple of differences: