We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21beb0 commit 2c275d2Copy full SHA for 2c275d2
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts
@@ -57,10 +57,7 @@ const EslintSuppressionRulesSchema = z
57
type EslintSuppressionRules = z.infer<typeof EslintSuppressionRulesSchema>;
58
59
const SourcesSchema = z
60
- .union([
61
- z.array(z.string()),
62
- z.function().args(z.string()).returns(z.boolean()),
63
- ])
+ .union([z.array(z.string()), z.function(z.tuple([z.string()]), z.boolean())])
64
.nullable();
65
type Sources = z.infer<typeof SourcesSchema>;
66
0 commit comments