The expected type of the export that matches the specified properties.
The type of the property keys to look for.
The module to search through.
An array of property keys to look for in the exports.
Optional
byPrototype: booleanWhether to search only in the prototype of the exports. Defaults to false
.
The first export that contains all the specified properties, or undefined
if none is found.
Retrieves the first export from a module that contains all the specified properties.