Skip to content

openapi-typescript@7.0.0-next.5 require('openapi-typescript') cannot export the astToString method #1482

Closed
@liangskyli

Description

@liangskyli

Description

openapi-typescript@7.0.0-next.5 bug:
require('openapi-typescript') cannot export the astToString method
for example: var { astToString } = require('openapi-typescript');

Paste full error message
Name Version
openapi-typescript 7.0.0-next.5 bug
Node.js 18
OS + version Windows 10

Reproduction

require('openapi-typescript') cannot export the astToString method
for example: var { astToString } = require('openapi-typescript');

Expected result

require('openapi-typescript') can export the astToString method
for example: var { astToString } = require('openapi-typescript');

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopenapi-tsRelevant to the openapi-typescript library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions