Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[oas2ts] Import statements ignore style #273

Closed
jovark opened this issue Jul 2, 2024 · 1 comment · Fixed by #276
Closed

[oas2ts] Import statements ignore style #273

jovark opened this issue Jul 2, 2024 · 1 comment · Fixed by #276
Assignees

Comments

@jovark
Copy link

jovark commented Jul 2, 2024

When generating d.ts files using oas2ts the import statements ignore style from cmd options and from the config.json file.

When using this config:

{
  "style": {
    "singleQuote": false,
    "semi": true
  }
}

Expected result:

import { Foo } from "./Bar";

Actual result:

import { Foo } from './Bar'

(since these are prettier defaults, should work even without specifying)

If this is more of an issue with json-schema-to-typescript, let me know and I will create an issue in their github instead.
Thanks!

Copy link

🎉 This issue has been resolved in version 1.4.2 🎉

The release is available on:

Your optic bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants