(symbol)
| 51113 | } |
| 51114 | } |
| 51115 | function getDeclarationOfJSPrototypeContainer(symbol) { |
| 51116 | var decl = symbol.parent.valueDeclaration; |
| 51117 | if (!decl) { |
| 51118 | return undefined; |
| 51119 | } |
| 51120 | var initializer = ts.isAssignmentDeclaration(decl) ? ts.getAssignedExpandoInitializer(decl) : |
| 51121 | ts.hasOnlyExpressionInitializer(decl) ? ts.getDeclaredExpandoInitializer(decl) : |
| 51122 | undefined; |
| 51123 | return initializer || decl; |
| 51124 | } |
| 51125 | /** |
| 51126 | * Get the real symbol of a declaration with an expando initializer. |
| 51127 | * |
no outgoing calls
no test coverage detected