Skip to content

Commit 462607c

Browse files
committed
Improve doc comment
1 parent 036de6b commit 462607c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/compiler/checker.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6846,9 +6846,10 @@ namespace ts {
68466846
return members;
68476847
}
68486848

6849-
/** Mark an object literal as exempt from the excess properties check.
6850-
* Recursively mark object literal members as exempt.
6851-
* Leave signatures alone since they are not subject to the check.
6849+
/**
6850+
* If the the provided object literal is subject to the excess properties check,
6851+
* create a new that is exempt. Recursively mark object literal members as exempt.
6852+
* Leave signatures alone since they are not subject to the check.
68526853
*/
68536854
function getRegularTypeOfObjectLiteral(type: Type): Type {
68546855
if (!(type.flags & TypeFlags.FreshObjectLiteral)) {

0 commit comments

Comments
 (0)