@webdeveric/utils
    Preparing search index...

    Type Alias MethodNames<Type, Key>

    MethodNames: Key extends PropertyKey
        ? Type[Key] extends Function ? Key : never
        : never

    Return a type containing all method names

    Type Parameters

    • Type
    • Key extends keyof Type = keyof Type