Skip to content

Commit 6e1fc09

Browse files
committed
chore: putout: actions: lint ☘️
1 parent fc7e2dd commit 6e1fc09

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

packages/putout/test/operator.errors.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,36 @@ const {
1616

1717
// THROWS Expected 2 arguments, but got 1.
1818
replaceWith(1);
19+
1920
// THROWS Expected 2-4 arguments, but got 1.
2021
compare('hello');
22+
2123
// THROWS Expected 2 arguments, but got 1.
2224
traverse(1);
25+
2326
// THROWS Argument of type 'number' is not assignable to parameter of type 'string'
2427
toJS(5);
28+
2529
// THROWS Expected 2 arguments, but got 1
2630
hasTagName(5);
31+
2732
// THROWS Expected 2 arguments, but got 1.
2833
replaceWith(1);
34+
2935
// THROWS Argument of type 'number' is not assignable to parameter of type 'AddArgsOptions'
3036
addArgs(5);
37+
3138
// THROWS Argument of type 'number' is not assignable to parameter of type 'DeclareOptions'
3239
declare(5);
40+
3341
// THROWS Argument of type 'number' is not assignable to parameter of type 'string'
3442
isKeyword(5);
43+
3544
// THROWS Argument of type 'number' is not assignable to parameter of type 'NodePath_Final'.
3645
findFile(5, 'hello');
46+
3747
// THROWS Expected 1 arguments, but got 2.
3848
matchFiles(5, 'hello');
49+
3950
// THROWS Expected 2 arguments, but got 1
4051
findFileUp(5);

0 commit comments

Comments
 (0)