Prevents issue where "XOR"-like union of properties results in duplicated method names showing up in autocompletion.
For functions, explicitly adding "& Function" seems to get rid of the version without the method signature.
Type Parameters
T
Object that presumably contains some methods that are potentially never
Prevents issue where "XOR"-like union of properties results in duplicated method names showing up in autocompletion. For functions, explicitly adding "& Function" seems to get rid of the version without the method signature.