Skip to content

Commit

Permalink
style: format code with Prettier (#2563)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] committed Apr 13, 2024
1 parent 19c0b3f commit 32ec44e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/quicktype-core/src/language/Swift.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ export const swiftOptions = {
justTypes: new BooleanOption("just-types", "Plain types only", false),
convenienceInitializers: new BooleanOption("initializers", "Generate initializers and mutators", true),
explicitCodingKeys: new BooleanOption("coding-keys", "Explicit CodingKey values in Codable types", true),
codingKeysProtocol: new StringOption("coding-keys-protocol", "CodingKeys implements protocols",
"protocol1, protocol2...", "", "secondary"),
codingKeysProtocol: new StringOption(
"coding-keys-protocol",
"CodingKeys implements protocols",
"protocol1, protocol2...",
"",
"secondary"
),
alamofire: new BooleanOption("alamofire", "Alamofire extensions", false),
namedTypePrefix: new StringOption("type-prefix", "Prefix for type names", "PREFIX", "", "secondary"),
useClasses: new EnumOption("struct-or-class", "Structs or classes", [
Expand Down

0 comments on commit 32ec44e

Please sign in to comment.