(schema: any)
| 73 | }; |
| 74 | |
| 75 | const getProperties = (schema: any) => { |
| 76 | const ast = schema.ast; |
| 77 | if (ast._tag === TYPE_LITERAL) { |
| 78 | const signatures = ast[PROPERTY_SIGNATURES]; |
| 79 | if (signatures) { |
| 80 | const properties: any = {}; |
| 81 | signatures.forEach((sig: any) => { |
| 82 | properties[sig.name] = sig.type; |
| 83 | }); |
| 84 | return properties; |
| 85 | } |
| 86 | } |
| 87 | }; |
| 88 | |
| 89 | export const createEffectSchematizer: typeof createEffectSchematizerDecl = () => |
| 90 | createCustomSchematizer(unwrapSchema, getProperties); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…