Skip to content

Commit

Permalink
chore: apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Aug 27, 2023
1 parent e389396 commit 9a390ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export function printVueAcceptableTypeLiteralFromSymbols(
const typeString = typeChecker.typeToString(
typeChecker.getBaseTypeOfLiteralType(type),
);
let questionMark =decl.questionToken?'?': "";
push(
const questionMark = decl.questionToken ? "?" : "";
push(
`${decl.name.getText()}${questionMark}: ${toVueAcceptableType(
typeString,
)};`,
Expand Down

0 comments on commit 9a390ea

Please sign in to comment.