Skip to content

Commit 851c7e4

Browse files
author
Arthur Ozga
committed
fixed comment, spacing
1 parent 91e3a5c commit 851c7e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/compiler/binder.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ namespace ts {
176176
/**
177177
* Declares a Symbol for the node and adds it to symbols. Reports errors for conflicting identifier names.
178178
* @param symbolTable - The symbol table which node will be added to.
179-
* @param parent - If node is in a class, parent denotes the parent declaration.
179+
* @param parent - node's parent declaration.
180180
* @param node - The declaration to be added to the symbol table
181181
* @param includes - The SymbolFlags that node has in addition to its declaration type (eg: export, ambient, etc.)
182182
* @param excludes - The flags which node cannot be declared alongside in a symbol table. Used to report forbidden declarations.
@@ -211,11 +211,11 @@ namespace ts {
211211
symbol = hasProperty(symbolTable, name)
212212
? symbolTable[name]
213213
: (symbolTable[name] = createSymbol(SymbolFlags.None, name));
214-
214+
215215
if (name && (includes & SymbolFlags.Classifiable)) {
216-
classifiableNames[name] = name;
216+
classifiableNames[name] = name;
217217
}
218-
218+
219219
if (symbol.flags & excludes) {
220220
if (node.name) {
221221
node.name.parent = node;

0 commit comments

Comments
 (0)