Skip to content

Commit 73f70ee

Browse files
committed
make the doc domments on the lookup functions a bit more consistent
1 parent b85bbf8 commit 73f70ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,12 +1916,12 @@ namespace ts {
19161916
isInstantiationOf(a: GenericType, b: GenericType): boolean;
19171917

19181918
/**
1919-
* Looks up a global symbol named "name" with meaning SymbolFlags.Type
1919+
* Returns the declared type of the globally named symbol with meaning SymbolFlags.Type
19201920
* Returns the unknown type on failure.
19211921
*/
19221922
lookupGlobalType(name: string): Type;
19231923
/**
1924-
* Resolve a symbol lexically at the position specified with meaning SymbolFlags.Type
1924+
* Returns the declared type of the named symbol lexically at the position specified with meaning SymbolFlags.Type
19251925
* Returns the unknown type on failure.
19261926
*/
19271927
lookupTypeAt(name: string, position: Node): Type;

0 commit comments

Comments
 (0)