3.7 LKG update (#33690)

* Update versions to beta

* LKG

* Fix the build protocol script

* Follow-up LKG

* Rename this function so it stops shadowing a local we use elsewhere

* Update tsserver library baseline
This commit is contained in:
Ryan Cavanaugh
2019-09-30 17:34:36 -07:00
committed by GitHub
parent 7be7cba050
commit 20983ae547
35 changed files with 102657 additions and 70222 deletions

View File

@@ -48,7 +48,8 @@ class DeclarationsWalker {
}
if (s.name === "Array" || s.name === "ReadOnlyArray") {
// we should process type argument instead
return this.processType((<any>type).typeArguments[0]);
const typeArgs = this.typeChecker.getTypeArguments(type as ts.TypeReference);
return this.processType(typeArgs[0]);
}
else {
const declarations = s.getDeclarations();