Skip to content

Commit f840ec8

Browse files
committed
add curly braces to type (#43)
1 parent 5ac8d98 commit f840ec8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Jake/articles/tags-type

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ var props;
275275
{{#example}}Example
276276
/** @type {(string|Array.<string>)} */
277277
var foo;
278-
/** @type number */
278+
/** @type {number} */
279279
var bar = 1;
280280
{{/example}}
281281

tags-type.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ <h3>Examples</h3>
516516
<pre class="prettyprint lang-js">
517517
/** @type {(string|Array.&lt;string>)} */
518518
var foo;
519-
/** @type number */
519+
/** @type {number} */
520520
var bar = 1;
521521

522522
</pre>

0 commit comments

Comments
 (0)