* Gets the parsed response data and the raw `Response` instance. * * If you just want to get the raw `Response` instance without parsing it, * you can use asResponse(). * * * 👋 Getting the wrong TypeScript type for `Response`? * Try setting `"moduleResolution": "NodeNext
()
| 69560 | * |
| 69561 | * |
| 69562 | * 👋 Getting the wrong TypeScript type for `Response`? |
| 69563 | * Try setting `"moduleResolution": "NodeNext"` if you can, |
| 69564 | * or add one of these imports before your first `import … from '@anthropic-ai/sdk'`: |
| 69565 | * - `import '@anthropic-ai/sdk/shims/node'` (if you're running on Node) |
| 69566 | * - `import '@anthropic-ai/sdk/shims/web'` (otherwise) |
| 69567 | */ |
| 69568 | async withResponse() { |
no test coverage detected