mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-17 11:16:54 +08:00
fix(ngdocs): add '=' to type signatures with optional arguments
This commit is contained in:
@@ -292,6 +292,9 @@ Doc.prototype = {
|
||||
}
|
||||
dom.text(' – {');
|
||||
dom.text(param.type);
|
||||
if (param.optional) {
|
||||
dom.text('=');
|
||||
}
|
||||
dom.text('} – ');
|
||||
});
|
||||
dom.html(param.description);
|
||||
|
||||
Reference in New Issue
Block a user