Skip to content

Commit

Permalink
feat: add class
Browse files Browse the repository at this point in the history
  • Loading branch information
Dup4 committed Sep 9, 2022
1 parent f969af8 commit 9b3dd50
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/format.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { IOptions } from "./types";

class StructLine {
number = "";
paramOptions = "";
paramName = "";
defaultValue = "";
description = "";
annotation = "";
}

class EnumLine {
number = "";
paramName = "";
hasDescription = "";
description = "";
annotation = "";
}

export function formatThrift(
content: string,
options?: IOptions,
Expand Down

0 comments on commit 9b3dd50

Please sign in to comment.