Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] [JSDT] any way to copy one type to another?

hi,
let's assume I have Type1 and Type2 which are the same:

/**
 * @constructor
 */
Type1 = function() {
}

/**
 * @memberOf Type1
 */
Type1.prototype.coolDynFunc = function() {
}
 
/**
 * @magic
 */
Type2 = Type1;

is there a way to make JSDT understand this assignment and show Type1 and Type2 as two exactly the same types?

thanks!

Jacek


Back to the top