Skip to content

Param Default Values #737

Closed
Closed
@LittleBitQuacky

Description

@LittleBitQuacky

Hi,

I have methods that have parameters with default values that don't get displayed correctly. Maybe I am doing something wrong.

 * @namespace Test
 * @desc A test
 */

class Test {

	/**
	 * @static
	 *
	 * @param {String} [str=""]
	 * @param {Boolean} [ret=false]
	 */

	static a(str = "", ret = false){

	}

	/**
	 * @static
	 *
	 * @param {String} [back=true] // Incorrect type here ignore this
	 */

	static b(back = true){

	}

	/**
	 * @static
	 */

	static c(){

	}

}

▾ a(str = "", ret = false)
    a(str: String?, ret: Boolean?)
    
    Parameters
          str (String? = "")
          ret (Boolean? = false)

Here is a screen shot of how it looks: http://i.imgur.com/nIkcz6b.png

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions