(
adm: ObservableObjectAdministration,
{ annotationType_ }: Annotation,
key: PropertyKey,
{ value }: PropertyDescriptor
)
| 86 | } |
| 87 | |
| 88 | function assertFlowDescriptor( |
| 89 | adm: ObservableObjectAdministration, |
| 90 | { annotationType_ }: Annotation, |
| 91 | key: PropertyKey, |
| 92 | { value }: PropertyDescriptor |
| 93 | ) { |
| 94 | if (__DEV__ && !isFunction(value)) { |
| 95 | die( |
| 96 | `Cannot apply '${annotationType_}' to '${adm.name_}.${key.toString()}':` + |
| 97 | `\n'${annotationType_}' can only be used on properties with a generator function value.` |
| 98 | ) |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | function createFlowDescriptor( |
| 103 | adm: ObservableObjectAdministration, |
no test coverage detected
searching dependent graphs…