• Obtain extended type objects (including subtypes)

    Parameters

    • target: any

      Destination type.

    Returns ExtType

    Extension type object.

    var returnObject = {
    $ype: '', // common
    default: null, // string, number, boolean, regexp
    kind: '', // array, choice
    creator: null, // class
    _instance: {}, // class
    _prop: {}, // union
    params: [], // function
    return: null, // function
    name: name, // function
    func: null, // function
    }