( ts: TypeScript, node: typescript.Expression )
| 286 | } |
| 287 | |
| 288 | function unwrapObjectLiteralExpression( |
| 289 | ts: TypeScript, |
| 290 | node: typescript.Expression |
| 291 | ): typescript.ObjectLiteralExpression | undefined { |
| 292 | const expression = unwrapTransparentTypeScriptExpression(ts, node) |
| 293 | return ts.isObjectLiteralExpression(expression) ? expression : undefined |
| 294 | } |
| 295 | |
| 296 | function extractMessageDescriptor( |
| 297 | ts: TypeScript, |
no test coverage detected