Skip to content

Commit 25d7229

Browse files
O -> Of
1 parent ac1d218 commit 25d7229

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/checker.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,10 +2058,10 @@ namespace ts {
20582058
if (symbol) {
20592059
// Always use 'typeof T' for type of class, enum, and module objects
20602060
if (symbol.flags & (SymbolFlags.Class | SymbolFlags.Enum | SymbolFlags.ValueModule)) {
2061-
writeTypeOSymbol(type, flags);
2061+
writeTypeOfSymbol(type, flags);
20622062
}
20632063
else if (shouldWriteTypeOfFunctionSymbol()) {
2064-
writeTypeOSymbol(type, flags);
2064+
writeTypeOfSymbol(type, flags);
20652065
}
20662066
else if (contains(symbolStack, symbol)) {
20672067
// If type is an anonymous type literal in a type alias declaration, use type alias name
@@ -2106,7 +2106,7 @@ namespace ts {
21062106
}
21072107
}
21082108

2109-
function writeTypeOSymbol(type: ObjectType, typeFormatFlags?: TypeFormatFlags) {
2109+
function writeTypeOfSymbol(type: ObjectType, typeFormatFlags?: TypeFormatFlags) {
21102110
writeKeyword(writer, SyntaxKind.TypeOfKeyword);
21112111
writeSpace(writer);
21122112
buildSymbolDisplay(type.symbol, writer, enclosingDeclaration, SymbolFlags.Value, SymbolFormatFlags.None, typeFormatFlags);

0 commit comments

Comments
 (0)