• Choose the best signature string for a reflection.

    Functions/methods/constructors keep their declared signatures; variables and properties expose their type; classes fall back to their name.

    Parameters

    • ref: any

    Returns string