Skip to content

Commit 511c076

Browse files
committed
fix typo
1 parent 71eab5f commit 511c076

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/services.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ module ts {
17421742
return (SyntaxKind.FirstPunctuation <= kind && kind <= SyntaxKind.LastPunctuation);
17431743
}
17441744

1745-
function isVisibleWithenDeclaration(symbol: Symbol, containingClass: Declaration): boolean {
1745+
function isVisibleWithinDeclaration(symbol: Symbol, containingClass: Declaration): boolean {
17461746
var declaration = symbol.declarations && symbol.declarations[0];
17471747
return !(declaration && declaration.flags & NodeFlags.Private && containingClass !== declaration.parent);
17481748
}
@@ -1859,7 +1859,7 @@ module ts {
18591859
if (symbol && symbol.flags & SymbolFlags.HasExports) {
18601860
// Extract module or enum members
18611861
forEachValue(symbol.exports, symbol => {
1862-
if (isVisibleWithenDeclaration(symbol, containingClass)) {
1862+
if (isVisibleWithinDeclaration(symbol, containingClass)) {
18631863
symbols.push(symbol);
18641864
}
18651865
});
@@ -1871,7 +1871,7 @@ module ts {
18711871
if (apparentType) {
18721872
// Filter private properties
18731873
forEach(apparentType.getApparentProperties(), symbol => {
1874-
if (isVisibleWithenDeclaration(symbol, containingClass)) {
1874+
if (isVisibleWithinDeclaration(symbol, containingClass)) {
18751875
symbols.push(symbol);
18761876
}
18771877
});

0 commit comments

Comments
 (0)