Skip to content

Commit 84bcf7b

Browse files
committed
Removed unused variable that was failing the build
1 parent e18bf59 commit 84bcf7b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/TSHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ export class TSHelper {
488488
return checker.getContextualType(expression) || checker.getTypeAtLocation(expression);
489489
}
490490

491-
public static getAllCallSignatures(type: ts.Type): readonly ts.Signature[] {
491+
public static getAllCallSignatures(type: ts.Type): ReadonlyArray<ts.Signature> {
492492
if (type.isUnion()) {
493493
return type.types.map(t => TSHelper.getAllCallSignatures(t)).reduce((a, b) => a.concat(b));
494494
}

test/unit/assignments/assignments.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as ts from "typescript";
21
import { TSTLErrors } from "../../../src/TSTLErrors";
32
import * as util from "../../util";
43

0 commit comments

Comments
 (0)