@@ -134,6 +134,7 @@ module Opts = struct
134134 react_ref_as_prop : Options.ReactRefAsProp .t ;
135135 react_rules : Options .react_rules list ;
136136 react_runtime : Options .react_runtime ;
137+ records : bool option ;
137138 recursion_limit : int ;
138139 relay_integration : bool ;
139140 relay_integration_esmodules : bool ;
@@ -282,6 +283,7 @@ module Opts = struct
282283 react_ref_as_prop = Options.ReactRefAsProp. FullSupport ;
283284 react_rules = [] ;
284285 react_runtime = Options. ReactRuntimeClassic ;
286+ records = None ;
285287 recursion_limit = 10000 ;
286288 relay_integration = false ;
287289 relay_integration_esmodules = false ;
@@ -1127,6 +1129,7 @@ module Opts = struct
11271129 )
11281130 );
11291131 (" experimental.projects_path_mapping" , projects_path_mapping_parser);
1132+ (" experimental.records" , boolean (fun opts v -> Ok { opts with records = Some v }));
11301133 (" experimental.strict_es6_import_export" , strict_es6_import_export_parser);
11311134 (" experimental.ts_syntax" , boolean (fun opts v -> Ok { opts with ts_syntax = v }));
11321135 ( " experimental.ts_utility_syntax" ,
@@ -2033,6 +2036,8 @@ let react_rules c = c.options.Opts.react_rules
20332036
20342037let react_runtime c = c.options.Opts. react_runtime
20352038
2039+ let records c = c.options.Opts. records
2040+
20362041let recursion_limit c = c.options.Opts. recursion_limit
20372042
20382043let relay_integration c = c.options.Opts. relay_integration
0 commit comments