mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Fix issue
This commit is contained in:
parent
b0d8c6551e
commit
b650d7d06b
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user