mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-16 05:58:32 -06:00
Fix linting issue
This commit is contained in:
parent
86704e5bf9
commit
48f2dd963c
@ -12869,7 +12869,7 @@ namespace ts {
|
||||
return propType;
|
||||
}
|
||||
if (everyType(type, isTupleType)) {
|
||||
let restType = mapType(type, t => getRestTypeOfTupleType(<TupleTypeReference>t) || undefinedType);
|
||||
const restType = mapType(type, t => getRestTypeOfTupleType(<TupleTypeReference>t) || undefinedType);
|
||||
if (restType !== undefinedType) {
|
||||
return restType;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user