Creating Plot Twists
    Preparing search index...

    Type Alias NoFunctions<T>

    NoFunctions: T extends (...args: any[]) => any
        ? never
        : T extends object
            ? {
                [K in keyof T]: T[K] extends (...args: any[]) => any ? never : T[K]
            }
            : T

    Filters out function properties from a type, keeping only data properties. For arrays, keeps the array structure while filtering functions from elements.

    Type Parameters

    • T