mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
prettier
This commit is contained in:
@@ -354,7 +354,7 @@ function* runWithEnvironment(
|
||||
name: 'PropagateScopeDependenciesHIR',
|
||||
value: hir,
|
||||
});
|
||||
|
||||
|
||||
if (env.config.inferEffectDependencies) {
|
||||
inferEffectDependencies(env, hir);
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@ const EnvironmentConfigSchema = z.object({
|
||||
* the dependency.
|
||||
*/
|
||||
enableOptionalDependencies: z.boolean().default(true),
|
||||
|
||||
|
||||
/**
|
||||
* Enables inference and auto-insertion of effect dependencies. Still experimental.
|
||||
*/
|
||||
|
||||
@@ -178,7 +178,7 @@ function makePluginOptions(
|
||||
if (firstLine.includes('@inferEffectDependencies')) {
|
||||
inferEffectDependencies = true;
|
||||
}
|
||||
|
||||
|
||||
let logs: Array<{filename: string | null; event: LoggerEvent}> = [];
|
||||
let logger: Logger | null = null;
|
||||
if (firstLine.includes('@logger')) {
|
||||
|
||||
Reference in New Issue
Block a user