mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix issue
This commit is contained in:
1 parent
b0d8c6551e
commit
b650d7d06b
1 file changed
+1
-1
@@ -6226,7 +6226,7 @@ namespace ts {
|
||||
/*resolvedTypePredicate*/ undefined, sig.minArgumentCount, sig.hasRestParameter, sig.hasLiteralTypes);
|
||||
}
|
||||
|
||||
function getExpandedParameters(sig: Signature): Symbol[] {
|
||||
function getExpandedParameters(sig: Signature): ReadonlyArray<Symbol> {
|
||||
if (sig.hasRestParameter) {
|
||||
const restIndex = sig.parameters.length - 1;
|
||||
const restParameter = sig.parameters[restIndex];
|
||||
|
||||
Reference in new issue
Block a user