Add new variable type in JSDoc

Feature requests
Post Reply
sergey_che
Posts: 14
Joined: Tue Mar 11, 2008 10:04 am

Add new variable type in JSDoc

Post by sergey_che » Fri Apr 25, 2008 9:55 am

It will be great help for development if you'll add new variable type is JSDoc to pass information about objects, created in runtime, between functions. It may look something like this:

Code: Select all

function myObj(){
	var item = 1;
	return {
		getItem: function(){
			return item;
		}
	}
}

/**
 * @param {myObj()} b
 */
function myFunc(b){
	b. // <-- show code assist here about object, created in myObj()
}

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest