[compiler] Ensure strict mode for EnvironmentConfigSchema
in order to throw an error for unallowed config properties
#1852
Annotations
2 errors
Run yarn workspace babel-plugin-react-compiler test
Type '{ unknownProperty: boolean; }' has no properties in common with type 'Partial<{ customHooks: Map<string, { effectKind: Effect; valueKind: ValueKind; noAlias: boolean; transitiveMixedData: boolean; }>; moduleTypeProvider: ((args_0: string, ...args_1: unknown[]) => unknown) | null; ... 34 more ...; lowerContextAccess: { ...; } | null; }>'.
|
Run yarn workspace babel-plugin-react-compiler test
Process completed with exit code 1.
|
Loading