We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9460fb5 commit d5c9857Copy full SHA for d5c9857
1 file changed
src/services/services.ts
@@ -848,7 +848,7 @@ module ts {
848
// Overwrite the last declaration if it was an overload
849
// and this one is an implementation.
850
if (functionDeclaration.body && !(<FunctionLikeDeclaration>lastDeclaration).body) {
851
- lastOrUndefined(declarations) = functionDeclaration;
+ declarations[declarations.length - 1] = functionDeclaration;
852
}
853
854
else {
0 commit comments