Skip to content

Failed to parse #910

Open
Open
@pc00001

Description

@pc00001

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 | }

2716 | return Promise.resolve<SwaggerResponse<FileUploadMetadata[]>>(new SwaggerResponse<FileUploadMetadata[]>(status, _headers, result200));
| ^
2717 |
2718 | } else if (status !== 200 && status !== 204) {
2719 | const _responseText = response.data;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions