Fixing comment

This commit is contained in:
Anders Hejlsberg
2016-02-11 16:00:20 -08:00
parent 1af4e1ca64
commit a1040f02c4
+1
View File
@@ -6267,6 +6267,7 @@ namespace ts {
/**
* Return true if type was inferred from an object literal or written as an object type literal
* with no call or construct signatures.
*/
function isObjectLiteralType(type: Type) {
return type.symbol && (type.symbol.flags & (SymbolFlags.ObjectLiteral | SymbolFlags.TypeLiteral)) !== 0 &&