10 lines
No EOL
242 B
JavaScript
10 lines
No EOL
242 B
JavaScript
// @skip
|
|
// Unsupported input
|
|
|
|
// This is valid because "use"-prefixed functions called in
|
|
// unnamed function arguments are not assumed to be hooks.
|
|
((foo, bar) => {
|
|
if (foo) {
|
|
bar |> useNotAHook(%);
|
|
}
|
|
}) |> React.unknownFunction(%); |