138/// Convert a user-provided TypeConfig into an internal Type, registering shapes
139/// as needed. Ported from TS `installTypeConfig` in Globals.ts.
140▶/// If `errors` is provided, hook-name vs hook-type consistency validation
141/// errors are collected there.
142pub fn install_type_config(
· · ·
141▶/// errors are collected there.
142pub fn install_type_config(
143 _globals: &mut GlobalRegistry,
· · ·
150}
151
152▶/// Like `install_type_config` but collects validation errors.
153pub fn install_type_config_with_errors(
154 _globals: &mut GlobalRegistry,
· · ·
153▶pub fn install_type_config_with_errors(
154 _globals: &mut GlobalRegistry,
155 shapes: &mut ShapeRegistry,
· · ·
157 module_name: &str,
158 _loc: (),
159▶ errors: &mut Vec<String>,
160) -> Global {
161 install_type_config_inner(
+ 14 more matches in this file