File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,25 +16,36 @@ const {
1616
1717// THROWS Expected 2 arguments, but got 1.
1818replaceWith ( 1 ) ;
19+
1920// THROWS Expected 2-4 arguments, but got 1.
2021compare ( 'hello' ) ;
22+
2123// THROWS Expected 2 arguments, but got 1.
2224traverse ( 1 ) ;
25+
2326// THROWS Argument of type 'number' is not assignable to parameter of type 'string'
2427toJS ( 5 ) ;
28+
2529// THROWS Expected 2 arguments, but got 1
2630hasTagName ( 5 ) ;
31+
2732// THROWS Expected 2 arguments, but got 1.
2833replaceWith ( 1 ) ;
34+
2935// THROWS Argument of type 'number' is not assignable to parameter of type 'AddArgsOptions'
3036addArgs ( 5 ) ;
37+
3138// THROWS Argument of type 'number' is not assignable to parameter of type 'DeclareOptions'
3239declare ( 5 ) ;
40+
3341// THROWS Argument of type 'number' is not assignable to parameter of type 'string'
3442isKeyword ( 5 ) ;
43+
3544// THROWS Argument of type 'number' is not assignable to parameter of type 'NodePath_Final'.
3645findFile ( 5 , 'hello' ) ;
46+
3747// THROWS Expected 1 arguments, but got 2.
3848matchFiles ( 5 , 'hello' ) ;
49+
3950// THROWS Expected 2 arguments, but got 1
4051findFileUp ( 5 ) ;
You can’t perform that action at this time.
0 commit comments