(method: (this: any, ...args: any[]) => any, name?: string)
| 127 | * 创建 action 方法 |
| 128 | */ |
| 129 | const actionMethod = (method: (this: any, ...args: any[]) => any, name?: string) => { |
| 130 | return createMobxDescriptor<ActionConfig>({ |
| 131 | type: MobxExtendType.ACTION, |
| 132 | method, |
| 133 | name, |
| 134 | }) |
| 135 | } |
| 136 | |
| 137 | /* ------------------------------- Handler ------------------------------- */ |
| 138 | /** |
nothing calls this directly
no test coverage detected