(value: any)
| 196 | } |
| 197 | |
| 198 | private isOperationType(value: any): value is OperationType<any, any, any> { |
| 199 | return ( |
| 200 | value && |
| 201 | typeof value === "object" && |
| 202 | "type" in value && |
| 203 | (value.type === "get" || value.type === "post" || value.type === "ws") |
| 204 | ) |
| 205 | } |
| 206 | |
| 207 | private registerOperation( |
| 208 | path: string, |