| OLD | NEW |
| 1 function badFuncNoAnnotation() { | 1 function badFuncNoAnnotation() { |
| 2 return 1; // ERROR - no @return annotation. | 2 return 1; // ERROR - no @return annotation. |
| 3 } | 3 } |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @return {number} | 6 * @return {number} |
| 7 */ | 7 */ |
| 8 function badFuncAnnotatedButNoReturn() // ERROR - no @return annotation. | 8 function badFuncAnnotatedButNoReturn() // ERROR - no @return annotation. |
| 9 { | 9 { |
| 10 } | 10 } |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 function FuncInterface() | 371 function FuncInterface() |
| 372 { | 372 { |
| 373 } | 373 } |
| 374 | 374 |
| 375 FuncInterface.prototype = { | 375 FuncInterface.prototype = { |
| 376 /** | 376 /** |
| 377 * @return {number} | 377 * @return {number} |
| 378 */ | 378 */ |
| 379 returnNumber: function() { } | 379 returnNumber: function() { } |
| 380 } | 380 } |
| OLD | NEW |