(_target, prop: string)
| 211 | |
| 212 | const proxy: IFieldBuilderRegistry = new Proxy({} as IFieldBuilderRegistry, { |
| 213 | get(_target, prop: string) { |
| 214 | const factory = fieldTypes.get(prop); |
| 215 | if (factory) { |
| 216 | return () => factory.create(proxy); |
| 217 | } |
| 218 | return undefined; |
| 219 | } |
| 220 | }); |
| 221 | return proxy; |
| 222 | } |
no test coverage detected