(props: any)
| 1121 | * A modified version of `createUpdate` meant for declarative APIs. |
| 1122 | */ |
| 1123 | export function declareUpdate(props: any) { |
| 1124 | const update = createUpdate(props) |
| 1125 | if (is.und(update.default)) { |
| 1126 | update.default = getDefaultProps(update) |
| 1127 | } |
| 1128 | return update |
| 1129 | } |
| 1130 | |
| 1131 | /** Find keys with defined values */ |
| 1132 | function findDefined(values: Lookup, keys: Set<string>) { |
no test coverage detected
searching dependent graphs…