replugged

    Function getExportsForProps

    • Find an object in a module that has all the given properties. You will usually not need this function.

      Type Parameters

      • T
      • P extends PropertyKey = keyof T

      Parameters

      • m: unknown

        Module to search

      • props: P[]

        Array of prop names

      • OptionalbyPrototype: boolean

        Whether to look in the prototype or not

      Returns undefined | T

      Object/Function that contains all the given properties (and any others), or undefined if not found

    MMNEPVFCICPMFPCPTTAAATR