mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-16 15:51:35 -05:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user