remove extra code

This commit is contained in:
Yuichi Nukiyama
2016-08-20 21:36:17 +09:00
parent 0c01874b31
commit bc0c137a89
3 changed files with 17 additions and 4 deletions

View File

@@ -6275,7 +6275,6 @@ namespace ts {
(globalNumberType === source && numberType === target) ||
(globalBooleanType === source && booleanType === target) ||
(getGlobalESSymbolType() === source && esSymbolType === target)) {
console.log(source);console.log(target);
reportError(Diagnostics._0_is_a_primitive_type_while_1_is_a_boxed_object_Prefer_using_0_when_possible, targetType, sourceType);
}
}