We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f37d906 commit ca2a8e8Copy full SHA for ca2a8e8
1 file changed
scripts/tslint/typeOperatorSpacingRule.ts
@@ -19,7 +19,7 @@ function walk(ctx: Lint.WalkContext<void>): void {
19
ts.forEachChild(node, recur);
20
}
21
22
- function check(types: ts.TypeNode[]): void {
+ function check(types: ReadonlyArray<ts.TypeNode>): void {
23
let expectedStart = types[0].end + 2; // space, | or &
24
for (let i = 1; i < types.length; i++) {
25
const currentType = types[i];
0 commit comments