You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (status === 200) {
// Assuming result200 is defined earlier in the code
return Promise.resolve<SwaggerResponse<FileUploadMetadata[]>>(new SwaggerResponse<FileUploadMetadata[]>(status, _headers, result200));
} else if (status !== 204) {
const _responseText = response.data;
// Handle other statuses as needed
}
We use a swagger gen .ts file in our project.
When using storybook 8.0.8 the following issue is reported
SyntaxError: .\src\Api\v1_0.swagger.ts: Unexpected token (2716:112)
2714 | result200 = null;
2715 | }
The text was updated successfully, but these errors were encountered: