Skip to content

Commit d5c9857

Browse files
Whoops.
1 parent 9460fb5 commit d5c9857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ module ts {
848848
// Overwrite the last declaration if it was an overload
849849
// and this one is an implementation.
850850
if (functionDeclaration.body && !(<FunctionLikeDeclaration>lastDeclaration).body) {
851-
lastOrUndefined(declarations) = functionDeclaration;
851+
declarations[declarations.length - 1] = functionDeclaration;
852852
}
853853
}
854854
else {

0 commit comments

Comments
 (0)