You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/data/comments.js
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ $root.Test1 = (function() {
14
14
/**
15
15
* Properties of a Test1.
16
16
* @typedef Test1$Properties
17
-
* @type Object
17
+
* @type{Object}
18
18
* @property {string} [field1] Field with a comment.
19
19
* @property {number} [field2] Test1 field2.
20
20
* @property {boolean} [field3] Field with a comment and a <a href="http://example.com/foo/">link</a>
@@ -27,7 +27,6 @@ $root.Test1 = (function() {
27
27
* a
28
28
* comment.
29
29
* @exports Test1
30
-
* @implements Test1$Properties
31
30
* @constructor
32
31
* @param {Test1$Properties=} [properties] Properties to set
33
32
*/
@@ -38,16 +37,19 @@ $root.Test1 = (function() {
38
37
}
39
38
40
39
/**
40
+
* Field with a comment.
41
41
* @type {string|undefined}
42
42
*/
43
43
Test1.prototype.field1="";
44
44
45
45
/**
46
+
* Test1 field2.
46
47
* @type {number|undefined}
47
48
*/
48
49
Test1.prototype.field2=0;
49
50
50
51
/**
52
+
* Field with a comment and a <a href="http://example.com/foo/">link</a>
51
53
* @type {boolean|undefined}
52
54
*/
53
55
Test1.prototype.field3=false;
@@ -230,13 +232,12 @@ $root.Test2 = (function() {
230
232
/**
231
233
* Properties of a Test2.
232
234
* @typedef Test2$Properties
233
-
* @type Object
235
+
* @type{Object}
234
236
*/
235
237
236
238
/**
237
239
* Constructs a new Test2.
238
240
* @exports Test2
239
-
* @implements Test2$Properties
240
241
* @constructor
241
242
* @param {Test2$Properties=} [properties] Properties to set
0 commit comments