mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
PR feedback
This commit is contained in:
1 parent
115884aa30
commit
8ca66d3180
1 file changed
+1
-1
@@ -16090,7 +16090,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
function getJavaScriptClassType(symbol: Symbol): Type | undefined {
|
||||
if (symbol && isDeclarationOfFunctionOrClassExpression(symbol)) {
|
||||
if (isDeclarationOfFunctionOrClassExpression(symbol)) {
|
||||
symbol = getSymbolOfNode((<VariableDeclaration>symbol.valueDeclaration).initializer);
|
||||
}
|
||||
if (isJavaScriptConstructor(symbol.valueDeclaration)) {
|
||||
|
||||
Reference in new issue
Block a user