File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Tree.prototype.builder = function() {
3434 * @async
3535 * @param {Tree } tree to diff against
3636 * @param {Function } callback
37- * @return {DiffList }
37+ * @return {Diff }
3838 */
3939Tree . prototype . diff = function ( tree , callback ) {
4040 return this . diffWithOptions ( tree , null , callback ) ;
@@ -46,7 +46,7 @@ Tree.prototype.diff = function(tree, callback) {
4646 * @param {Tree } tree to diff against
4747 * @param {Object } options
4848 * @param {Function } callback
49- * @return {DiffList }
49+ * @return {Diff }
5050 */
5151Tree . prototype . diffWithOptions = function ( tree , options , callback ) {
5252 return Diff . treeToTree ( this . repo , tree , this , options ) . then ( function ( diff ) {
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ describe("Diff", function() {
112112 } ) ;
113113 } ) ;
114114
115- it ( "can walk a DiffList " , function ( ) {
115+ it ( "can walk an Array<Diff> " , function ( ) {
116116 return this . diff [ 0 ] . patches ( )
117117 . then ( function ( patches ) {
118118 var patch = patches [ 0 ] ;
You can’t perform that action at this time.
0 commit comments