Skip to content

Commit d333f30

Browse files
revert todos
1 parent 9968fe2 commit d333f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ export class Signature {
10751075
}
10761076

10771077
// check rest parameter
1078-
if (this.hasRest != target.hasRest) return false;
1078+
if (this.hasRest != target.hasRest) return false; // TODO
10791079

10801080
// check return type (covariant)
10811081
let thisReturnType = this.returnType;
@@ -1087,7 +1087,7 @@ export class Signature {
10871087
let thisParameterTypes = this.parameterTypes;
10881088
let targetParameterTypes = target.parameterTypes;
10891089
let numParameters = thisParameterTypes.length;
1090-
if (numParameters != targetParameterTypes.length) return false;
1090+
if (numParameters != targetParameterTypes.length) return false; // TODO
10911091

10921092
for (let i = 0; i < numParameters; ++i) {
10931093
let thisParameterType = unchecked(thisParameterTypes[i]);

0 commit comments

Comments
 (0)